Forum

> > CS2D > General > How to creat delay door ?
Forums overviewCS2D overviewGeneral overviewLog in to reply

English How to creat delay door ?

9 replies
To the start Previous 1 Next To the start

old How to creat delay door ?

phihung940
User Off Offline

Quote
How to creat a door with delay ? I mean ... when player press the button to open/close the door, it will take 3 Second to using that button again.
I do this in Editor:
Deplay: 3 [Name:][Trigger: button]
2 Dynwall [Name: door][Trigger:]
Button [Name: button][Trgger: door]

but it dont work @-)

old Re: How to creat delay door ?

stealth
User Off Offline

Quote
Delay: 3 [Name: delay][Trigger: door]
2 Dynwall [Name: door][Trigger:]
Button [Name: ][Trgger: delay]

This is how it should work

old Re: How to creat delay door ?

phihung940
User Off Offline

Quote
Not work dude =.= ! and i forgot ... when delay the button change color to RED (origin is Blue or Green) is mean before you using ... the button is Blue when you used it change to Red

old Re: How to creat delay door ?

phihung940
User Off Offline

Quote
Thank for the Vid ... but not really like ... i mean: the door has opened before ... and if we press the button ,the door will close (not open in the origin).

old Re: How to creat delay door ?

RAVENOUS
BANNED Off Offline

Quote
First you make a door, called "door". After that you take a button, called "button". And you need a delay called "delay".

Now we can start.

Let the button trigger these things: "button, delay" - Now the colour of the button should disappear, this means that you can't use it at the moment.

The delay is triggering these things: "button, door" - It's quite easy.

If you set the delay of the door to 3, the door is opening in 3 seconds and the button will "repower" in 3 seconds. : )

old Re: How to creat delay door ?

Mawd
User Off Offline

Quote
phihung940 has written
Thank for the Vid ... but not really like ... i mean: the door has opened before ... and if we press the button ,the door will close (not open in the origin).


edit*
duh.. just make a trigger_start which trigger the dynwall
then trigger_use which actually open the door..

old Solution

Mechanolith
User Off Offline

Quote
Make the door like the example:

Env_DynWall (name: door1)
Trigger_Delay (name: door1delay / trigger: door1)
Trigger_Use (trigger: door1,door1delay)

Then when you use the button, the door will open and the delay will start the same time, then when the delay countdown has finished the door will close again
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview