inventory.c is an open source script that allows anyone to make their own customized inventory bag for the player in their game. It is saved in its own script called inventory.c . Are you saying that I have to combine inventory.c and OrcStronghold.c in the same script, in order to allow me to use a variable only stored in inventory.c , but who's value is needed by OrcStronghold.c to compare to another value, in order to initiate an action?