Right. It's been a while but I decided to try my hand at AGS again. Anyway, I opened up my old project and the first real puzzle involves getting a lift working using some tools.
So anyway, I've don't inventory interactions before but I can't figure out why this isn't working. It parses the game fine but when I use the tools on the lift nothing happens.
Code: ags
So anyway, I've don't inventory interactions before but I can't figure out why this isn't working. It parses the game fine but when I use the tools on the lift nothing happens.
function oObject0_UseInv ()
{
if (player.ActiveInventory == (iTools)) {
cEgo.Walk(225, 138, eBlock);
player.Say("&42 Just gotta rejigger the thingymabob!");
object[0].SetView(36);
}
else
{
player.Say("Nope");
}
}