Hi,
So I have a room with an object, disguised as a character, working under a car. I also have one standing nearby. I would
like to have it so that if I go to this room before another room, he is working under the car, but if I go to this other room and
get an Item, he will be standing nearby and the only way I believe I can do this is by if, else statements but so far I can't make
it work. Can someone help with this. What I'm trying to do is something like this.
Code: ags
If that makes sense. I just can't seem to code it correctly.
Thanks.
So I have a room with an object, disguised as a character, working under a car. I also have one standing nearby. I would
like to have it so that if I go to this room before another room, he is working under the car, but if I go to this other room and
get an Item, he will be standing nearby and the only way I believe I can do this is by if, else statements but so far I can't make
it work. Can someone help with this. What I'm trying to do is something like this.
if (player.HasInventory(iBurnie)
object[2].Visible = false;
object[3].Visible = true;
else
object[2].Visible = true;
object[3].Visible = false;
If that makes sense. I just can't seem to code it correctly.
Thanks.