How Do I?

JabaswtJabaswt Join Date: 2004-04-18 Member: 27997Members, Constellation
How do i make a timed door for 5 mins? like siege_005 and 007 and all the other ones.

Comments

  • AvitarAvitar Join Date: 2003-09-11 Member: 20760Members
    <span style='font-size:14pt;line-height:100%'><span style='color:red'><b>How do you make time delayed entities: a breif outline.</b></span></span>

    Basically there are many ways to do this, the best IMO is by using trigger_random.

    Why would you use a trigger random to start it? This is the preferred method because trigger random will restart at the begginning of each map provided you check the 'start on' flag unlike other entity methods that are supported by NS.

    Make however many func_doors you want. (note something like ns_seige007 has something like 3 doors that fire 1 after another.

    <u>Entity outline:</u>

    trigger random -> trigger_relay -> func_door (-> func_door-> func_door...)

    NOTE: you can use the same basic setup with a game_text, func_pushable, trigger_hurt entities in place of the func_door entity to trigger text, propulsion, etc. entity actions on a timer.

    <u>Sample Entity Setup:</u>

    trigger_random: *
    <!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
    Name: leave empty
    shortest fire time: 60
    longest fire time: 60
    delay before reset: leave at 3
    target for tournament play: leave empty
    Select smart edit:
    r_door1: value

    Flags:
    start on <!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    trigger_relay:
    <!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
    Name: r_door1
    Target: door1
    Delay before trigger: 0
    KillTarget: leave empty
    Trigger state: Off <!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    func_door:
    <!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->Name: door1
    Target: leave empty or put in door2, etc
    <!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    *You will receive a false 'unused keys' error in a trigger_random when you check for problems.


    In the future please use the SEARCH function as this question has been answered many times in different ways <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html//emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /><!--endemo-->
Sign In or Register to comment.