HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Player Trigger Question

08-04-2003, 10:18 PM#1
exalted-one
Okay, since I while making a trigger, I was wondering if someone could help me save a lot of time and memory. I was making a trigger in an arrow key movement system and I came across a problem that seemingly could only be solved if I made 10 copies of 9 triggers and modified 60 triggers total a little. That's not a lot of found. I was bored to death after doing something similar with 55 total triggers. So I was wondering if someone could tell me how to modify the following event:

Player - Player 3 (Teal) Presses the Left Arrow key

so that it will work for players 3 through 12 or for allies of Player 1. I can't seem to make a variable the World Editor will except (yes, I have tried Player) and I can't use a player group. And suggestions (by the way, if I can do something to the same effect in condition(s), that would be good, too).
08-04-2003, 11:14 PM#2
Vexorian
It is easy in fact, Did you know that when a trigger has multiple events, only one must happen to execute the trigger?

So in the Events use:
Player - Player 1 Presses the Left Arrow key
Player - Player 2 Presses the Left Arrow key
Player - Player 3 Presses the Left Arrow key
Player - Player 4 Presses the Left Arrow key
Player - Player 5 Presses the Left Arrow key
Player - Player 6 Presses the Left Arrow key
Player - Player 7 Presses the Left Arrow key
Player - Player 8 Presses the Left Arrow key
Player - Player 9 Presses the Left Arrow key
Player - Player 10 Presses the Left Arrow key
Player - Player 11 Presses the Left Arrow key
Player - Player 12 Presses the Left Arrow key


Then in the conditions / actions use (Triggering player) to know who is the guy using the left arrow key.
08-04-2003, 11:19 PM#3
exalted-one
I didn't actually know that Lord Vexorian. That's pretty cool. Makes my life a crap load easier. Even better, I already have it set to triggering player. Thanks for the info Lord Vexorian. :D