At the moment I have one room that displays the description right away, followed by a scripted message that appears after 7 seconds, and another 2 seconds after that.
The problem I have is that every time I type "l" or "look", the scripted messages show again, which I don't want. I just want the scripted messages to appear once at the 7 and 9 second mark and let the player re-look the room without those messages.
Does anyone know the solution to this? Thanks in advance.
george
19 Jan 2014 22:13
Perhaps the easiest way will be to print the room description and then call a firsttime script for the other stuff.
You'll want to be careful that the player won't enter the room and immediately leave though. That might screw up the timing.
Olzme
19 Jan 2014 22:44
That's fine - the first room is a harbor and the timed message is simply the sound/s of the ship leaving the harbor. If the player leaves before the message it makes sense since he won't hear the ship.