Trigger question

Technical issues discussion about your computer and Deus Ex games.

Moderator: Forum Guards

Trigger question

Postby clyzm » Fri Nov 03, 06 10:18 pm

Ok, say I want to make a Trigger that closes a door when it collides with the player. I want to make it so that the trigger works only once; that is, it only CLOSES the door. I've tried this before but everytime the player walks out and in of the trigger, it opens/closes the door. How can I make it so it only CLOSES the door?
Image
User avatar
clyzm
Forum Master God
 
Posts: 16023
Joined: Sun Nov 28, 04 2:48 am
Location: Chiraq

Postby Aidan » Sat Nov 04, 06 5:50 am

As you see in the picture at the end, it shows the trigger properties...

Set the "bTriggerOnceOnly" to "True". After that, the trigger will not respond a second time. If the door swings open after a short while, (I'm guesing you know this) set the trigger type on the door to "TriggerOnce" or "triggerOnceOnly" (something like that). Anyways, it should work.
__________________________________________
Now let's say you wanted to make the door close when you bump into it, you would change the activating trigger (on the "mover" properties, no "trigger" actor is required for THIS one) to something like "bumptrigger" or "bumpopentimed".
__________________________________________
Attachments
thetrigger.jpeg
This is an example from my train mover.
(328.6 KiB) Downloaded 30 times
Psychokiller, spelled incorrectly.
User avatar
Aidan
CandyMan
 
Posts: 6270
Joined: Wed Aug 02, 06 8:57 am
Location: True North Strong & Free

Postby clyzm » Sat Nov 04, 06 6:07 am

Ah thanks.
Image
User avatar
clyzm
Forum Master God
 
Posts: 16023
Joined: Sun Nov 28, 04 2:48 am
Location: Chiraq

Postby Aidan » Sat Nov 04, 06 7:58 am

No Problem
Psychokiller, spelled incorrectly.
User avatar
Aidan
CandyMan
 
Posts: 6270
Joined: Wed Aug 02, 06 8:57 am
Location: True North Strong & Free


Return to Technical issues

Who is online

Users browsing this forum: No registered users and 3 guests