triggering with an entity??

triggering with an entity??

Re: triggering with an entity?? Posted by InsaneWookie on Wed Dec 22nd 2004 at 10:31am
InsaneWookie
2 posts
Posted 2004-12-22 10:31am
2 posts 0 snarkmarks Registered: Dec 22nd 2004 Location: New Zealand
is it possible to trigger something with an entity, like say i pick up
a barrel and throw it into a sertian area (trigger brush) it turns on a
light or what-not
Re: triggering with an entity?? Posted by Guessmyname on Wed Dec 22nd 2004 at 10:40am
Guessmyname
342 posts
Posted 2004-12-22 10:40am
342 posts 173 snarkmarks Registered: Dec 6th 2004
That would be a trigger_once with the Psysics Objects flag checked. With an ouput to the light or whatever to turn it on / blow it up / other

EDIT: If you only want the barrel you need to give the barrel a name and make a filter. I'm not entirely sure how those work.
Re: triggering with an entity?? Posted by InsaneWookie on Wed Dec 22nd 2004 at 10:48am
InsaneWookie
2 posts
Posted 2004-12-22 10:48am
2 posts 0 snarkmarks Registered: Dec 22nd 2004 Location: New Zealand
cheers thats excatly what i wanted to do. i cant beleave i didnt see that
Re: triggering with an entity?? Posted by Zeon on Wed Dec 22nd 2004 at 10:50am
Zeon
37 posts
Posted 2004-12-22 10:50am
Zeon
member
37 posts 14 snarkmarks Registered: Dec 22nd 2004 Location: USA
Interesting idea. I haven't used many trigger brushes, but I tried this out and it works great:

Create a trigger_multiple. Set the trigger flag so that it activates on "Physics Objects". Then you can set the output on the trigger "OnTrigger" to to toggle your light. Take your barrel and throw it through the trigger area, and presto :smile:

edit Bah, got that one in a little late :smile: .