I've been working on a campaign map with several rooms and triggers to open/close the doors which works nicely using the in-game linking. (trigger entity is set to toggle,action,off)
So far i've had no luck trying to echo a line of text using this method, the command i am using: in the map.cfg
- {l Code}: {l Select All Code}
worldalias on_trigger_86 = [ echo "^fz43!^f7ALERT^fz43! ^f4sector ^f6A^f02 ^f4has been opened: 30 seconds until lockdown." ]
Where the trigger "index" is also 86. Having changed the parameters for the trigger entity to: script,action,off)
Screenshot in case i have changed something i shouldn't of
Also i have looked at the SP gamemode configs from sauerbraten and tried using the same methods in RE but they don't seem to be working either (ex; alias level_trigger_20 [ echo "blah" ])
I'm not sure what i'm doing wrong, assuming RE already has support for scriptable events. I'm basically trying to have a scenario where a player presses a button on a wall, and a door somewhere else in the map opens up for a short period of time, so the player has to run inside to advance to the next section, before the door shuts on them.
Having said that, i want to print a "notice" message to alert the players that a specific door has been opened, and then i guess i would need to know how to control the doors "state" from inside the map config... i would assume it would involve using a sleep loop for 30 seconds but i'm unaware of how to open and close a door using this method, any help on that too would be great, cheers.