Hi everyone,
I'm still making progress on the game I mentioned in my post over Christmas, only I've gotten stuck again...
I want to make a room where the hotspot is dependant on you having been to another room and seen/experienced the event that happens.
So I have 4 or 5 rooms which all lead together, and the last one - let's say this is room4, is dependant on you having walked into room2 and having seen a scene. If you go in before it will just give you a random message saying "No" or something.
In my head it looks like:
if cEgo [has been to] room2 [then take action x]
if cEgo [has not been to] room 2 [then Display("No, you can't use that yet.");
Can anyone help? I had thought of maybe making the final string in room 4's code so that it adds an inventory item, which if you have allows you to use the hotspot (as I'm not using the inventory for the purposes of this game), but I couldn't figure this out either... If anyone can help either way I'd appreciate it immensely!
Many thanks
NeuroticNugg
[Newb who laughs at his own failure]
I'm still making progress on the game I mentioned in my post over Christmas, only I've gotten stuck again...
I want to make a room where the hotspot is dependant on you having been to another room and seen/experienced the event that happens.
So I have 4 or 5 rooms which all lead together, and the last one - let's say this is room4, is dependant on you having walked into room2 and having seen a scene. If you go in before it will just give you a random message saying "No" or something.
In my head it looks like:
if cEgo [has been to] room2 [then take action x]
if cEgo [has not been to] room 2 [then Display("No, you can't use that yet.");
Can anyone help? I had thought of maybe making the final string in room 4's code so that it adds an inventory item, which if you have allows you to use the hotspot (as I'm not using the inventory for the purposes of this game), but I couldn't figure this out either... If anyone can help either way I'd appreciate it immensely!
Many thanks
NeuroticNugg
[Newb who laughs at his own failure]