How can I activate an entity every time a round starts?
van_rus
Join Date: 2006-11-02 Member: 58238Members
I have a rather complicated trigger sistem and it has to be reset.
Another question is how do entities change their state when the game restarts?
The door_rotating has the "delay before close" set to -1.
I open it, then enable sv_cheats to start the game. The door becomes closed again but doesn`t open anymore.
If there is a manual about it, I`d appreciate the link.
Another question is how do entities change their state when the game restarts?
The door_rotating has the "delay before close" set to -1.
I open it, then enable sv_cheats to start the game. The door becomes closed again but doesn`t open anymore.
If there is a manual about it, I`d appreciate the link.
Comments
2. No need to create a new thread there. I'll enlighten a few things for ya here...
3. Just imagin there is no three...
<b>gamestartedstatus</b>
A trigger builtin to NS. Any entity with this targetname (gamestartedstatus) will be triggered once the start pings are finished at the beginning of a round
<b>To reset an entity heres what I do.</b>
trigger_random (with these settings it will fire at the end of each round, when NS resets things):
shortest fire time: 0
longest fire time: 0
delay before reset: -1
target for tournement play: mapreset
multimanager (targeted by the trigger_random):
name: mapreset
To add targets turn smart edit off and add your targets here with the add button, I beleive it can target a maximum of 16 individual entities. For delay I normally fillin 1. dunno 0 scares me <img src="style_emoticons/<#EMO_DIR#>/biggrin-fix.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin-fix.gif" />
small sidenote:
To turn things off use a trigger_relay and set it's trigger status to off
To turn things on use a trigger_relay and set it's trigger status to on
...
<!--QuoteEnd--></div><!--QuoteEEnd-->
Sorry, didn`t see the subforum.
I think I understand how the trigger_random trick works, but why do you use it instead of gamestartedstatus?
What`s the difference?
btw does it work if the server doesn`t have tournament mode?
thanks for the help!
The trigger random in this setup is triggered once NS itself resets everything, which is about 5 seconds after a round ends and everyone is back in the readyroom.
I don't think tournement mode is a problem, but now you got me thinking twice <img src="style_emoticons/<#EMO_DIR#>/biggrin-fix.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin-fix.gif" />
gamestartedstatus is triggered at the start of a round (after the initial 3 pings)
The trigger random in this setup is triggered once NS itself resets everything, which is about 5 seconds after a round ends and everyone is back in the readyroom.
I don't think tournement mode is a problem, but now you got me thinking twice <img src="style_emoticons/<#EMO_DIR#>/biggrin-fix.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin-fix.gif" />
<!--QuoteEnd--></div><!--QuoteEEnd-->
Thank you, now I`ll try to use this. <img src="style_emoticons/<#EMO_DIR#>/smile-fix.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile-fix.gif" />