Help - Search - Members - Calendar
Full Version: How Do I?
Unknown Worlds Forums > Natural Selection > Natural Selection Creation > Mapping Forum > Mapping Help and Troubleshooting
Jabaswt
How do i make a timed door for 5 mins? like siege_005 and 007 and all the other ones.
Avitar
How do you make time delayed entities: a breif outline.

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.

Entity outline:

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.

Sample Entity Setup:

trigger_random: *
CODE

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


trigger_relay:
CODE

Name: r_door1
Target: door1
Delay before trigger: 0
KillTarget: leave empty
Trigger state: Off


func_door:
CODE
Name: door1
Target: leave empty or put in door2, etc


*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 biggrin.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.