Forum

> > CS2D > General > CS2D Trigger
Forums overviewCS2D overviewGeneral overviewLog in to reply

English CS2D Trigger

6 replies
To the start Previous 1 Next To the start

old CS2D Trigger

silence_shadow
User Off Offline

Quote
If The Name Of The DynamicWall (DynWall) For Example "sdoor" And There Is No Trigger_Use,Trigger_Move,Trigger_Once Could It Be Triggered By Chat Like Typing "/trigger sdoor" Or Should It Be "/sdoor". Or Was It Even Possible.Pls Help Me!Im Really Confused.I Tried Everything I Can Do Like Looking In The Editor But There Is Any Trigger That I Found.But Ppl Can Still Open The Door W/O Any Trigger_Use,Trigger_Move Or Trigger_Start

old Door trigger

KimKat
GAME BANNED Off Offline

Quote
Admirdee has written
you can't open door with typing,
it must be use or hit
Otherwise you can add this to the map "trigger_start" and also a "func_delay" so you delay the door opening or closing, depends if the "door"(func_dynwall) is activated at start or not via the trigger_start.

Code example:

Func_DynWall
(name "door")
This will set the entity name as door.

Trigger_Start
(name="start" trigger="door, door_delay")
Door is not shown at start and will be activated through the delay.

Func_Delay
(name="door_delay" trigger="door, door_close_delay" delay="15")
15 seconds delay for door to open at start.

Optional
Func_Delay
(name="door_close_delay" trigger="door" delay="75")
Door will close one minute after triggered by the door_delay.

old Re: CS2D Trigger

DC
Admin Off Offline

Quote
can be done with Lua + Say Hook + parse('trigger "sdoor"')

as Server you can always use the trigger command.
cs2d cmd trigger
console: trigger sdoor
chat: /trigger sdoor

old Re: CS2D Trigger

silence_shadow
User Off Offline

Quote
OMG!!! That Was Very Helpful,DC Thank You So Much!

Admirdee has written
you can't open door with typing,
it must be use or hit

Yes It Can DC Already Said It

KimKat has written
Otherwise you can add this to the map "trigger_start" and also a "func_delay" so you delay the door opening or closing, depends if the "door"(func_dynwall) is activated at start or not via the trigger_start.

Code example:

Func_DynWall
(name "door")
This will set the entity name as door.

Trigger_Start
(name="start" trigger="door, door_delay")
Door is not shown at start and will be activated through the delay.

Func_Delay
(name="door_delay" trigger="door, door_close_delay" delay="15")
15 seconds delay for door to open at start.

Optional
Func_Delay
(name="door_close_delay" trigger="door" delay="75")
Door will close one minute after triggered by the door_delay.

And I Know Those Things I've Been Making Maps For So Looong!

DC has written
can be done with Lua + Say Hook + parse('trigger "sdoor"')

as Server you can always use the trigger command.
trigger
console: trigger sdoor
chat: /trigger sdoor

I Got Another Question:
How About If Im Not A Server But I Know The Rcon Can It Still Be Trigger In Console Like "rcon trigger sdoor" ?
edited 1×, last 18.05.09 05:01:23 am

old Re: CS2D Trigger

DC
Admin Off Offline

Quote
yes of course. you can execute EVERY command as server when you have rcon access.
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview