In trying to make my first game harder, something of coarse stops working. Managed to work out its in this bit of code, but dont know where.
function DoorClosed_UseInv()
{
if (cFallow.ActiveInventory == iFallowKey1) {
fallowdoorlock = 1;
//export int fallowdoorlock;
cFallow.Say("unlocked");
}
}
The guess, i'm having is that fallowdoorlock doesn't exist as a variable?
What do you mean by saying it doesn't work?
when u use the key, it doesnt do anything, not even make him say it
Did you just write down the DoorClosed_UseInv() event or did you link it from the events pane via the lightning bolt icon? Make sure you've done the latter.
knew it would be something simple like that... anyway thanks!!!