Automaticly opening and closing Doors

For all topics related to using or installing radiant
Post Reply
User avatar
VanilleOD
Posts: 38
Joined: Wed Sep 07, 2011 12:30 am
Location: Germany
Contact:

Automaticly opening and closing Doors

Post by VanilleOD »

Long tome no see here, I'm on to refresh my first map and I wanna add a door that does the following:

0:00 closed
1:00 Open
1:05 close
2:00 Open
2:05 close
3:00 Open
...

I tried it with 2 target_delays to a target_relay, but they startet retriggering themselfes so the door just opened/closed after 5sec already.

User avatar
VanilleOD
Posts: 38
Joined: Wed Sep 07, 2011 12:30 am
Location: Germany
Contact:

Re: Automaticly opening and closing Doors

Post by VanilleOD »

Nevermind. Close. xD

User avatar
DagF
Posts: 277
Joined: Thu Aug 18, 2011 8:40 am
Location: Norway
Contact:

Re: Automaticly opening and closing Doors

Post by DagF »

Code: Select all

Trigger_always:
        target: t1

Trigger_delay:
        wait: 60
        targetname: t1
        target: t2

Trigger_relay
        targetname: t2
        target: t1

Trigger_relay
        targetname: t2
        target: doors

Trigger_delay
        targetname: t2
        wait: 5
        target: doors


That works. uploading a test map now ;) I know its a bit late but coudlent do it before now
Image

User avatar
VanilleOD
Posts: 38
Joined: Wed Sep 07, 2011 12:30 am
Location: Germany
Contact:

Re: Automaticly opening and closing Doors

Post by VanilleOD »

Cool thanks, my version works already pretty nice, but ill try that one too ;)

Post Reply