How To Trigger An Entity Upon Round End
monopolowa
Join Date: 2004-05-23 Member: 28839Members
Is there a way to trigger an entity when a round ends? (for example, custom sounds or secret areas) I've been looking through the entity descriptions and can't seem to find it...though I know I've seen something about using multi-managers to reset weldables and certain other entities between rounds
Comments
<b>flags:</b>
start on
<b>Keys (smart edit turned off):</b>
maxfiretime:1
wait:-1
balancedtarget: mapreset
minfiretime:0
<b>added key with smart edit turned off:</b>
mapreset:1
The trigger_random (with these settings) will be triggered each time when the round ends and the map is reset. Anything with the targetname 'mapreset' will be triggered when the map is reset by the game.
There is also another way of doing this with the built in variables of ns. But since this works to I never came arround to trying this, why fix it when it's not broken <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin-fix.gif' border='0' style='vertical-align:middle' alt='biggrin-fix.gif' /><!--endemo-->
there are many ways to make a trigger_random work <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->