Takeoffyouhoser Posted January 19, 2003 Share Posted January 19, 2003 Can i set up a trigger_once that if i walk through it going south down my hallway, i trigger one event, and, if walking north, i'd trigger the other ? Link to comment Share on other sites More sharing options...
lassev Posted January 19, 2003 Share Posted January 19, 2003 I'm a cruel man, and I answer: trigger_once triggers only once. Still, why not add 2 trigger_onces? Let the first one be just an ordinary trigger once, if your situation is such that the player goes somewhere, ever at first in the same direction, and later comes back from a dead-end. Say, when he begins the level, he goes south, launching the first trigger to spawn some enemies. The second trigger once is right next to the first, but set to inactive, so it won't launch. The player does something in the south, launching a trigger or a script that directs a target_activate to the previously inactive second trigger. Then, when the player returns north, the second trigger is active, causing new enemies to spawn in the north. EDIT: Sorry, in my cruelty, I might have misunderstood you. Still, my saying may apply with little tinkering. Just put two trigger_onces in the corridor, a few paces apart. The northernmost will launch when the player is going south. In addition of launching the desired event, it targets a target_deactive on the southernmost. And vice versa. Thus, it depends on the direction of the movement, what kind of effect is gotten, but any effect is got only once. Link to comment Share on other sites More sharing options...
Takeoffyouhoser Posted January 19, 2003 Author Share Posted January 19, 2003 well, its my fault... i should ahve said if i walk south down my hallway, i'd trigger on event, OR, if i'd walk north, i'd trigger the other... you answered my question though, with using an in-active trigger. i wasn't aware you can do that.. this is going to complicate things worse by using using a trigger to trigger a trigger.. lol Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.