- Joined
- Sep 2, 2006
- Messages
- 99
I am having a little trouble, I want to make it so when the player presses an Arrow Key a Hero spawns, ok I got that. But I also want them to be able to press a different Arrow Key to spawn a different Hero, ok got that too, but what I am having trouble with is that my way would take a lot longer than typing this and asking this question to see if there is in fact a quicker way.
Right now this is what I have
So Basically I want so when the player presses Left/Right Arrows a Different Hero will spawn, and obviously turn off all the other options so you can't exploit the trigger.
If you are reading this and know how to also make the Down Arrow Spawn a one of three heroes as well, that would be
great.
I do know I could duplicate this trigger twice for each Player, but that would be thirty triggers..
Right now this is what I have
NecroSpawn
Events
Player - Player 1 (Red) Presses the Up Arrow key
Conditions
Actions
Unit - Create 1 Necromancer (Balanced) for (Triggering player) at ((Triggering player) start location) facing (Center of (Playable map area))
Unit - Create 3 Raised Dead (All) for (Triggering player) at ((Triggering player) start location) facing (Center of (Playable map area))
Trigger - Turn off (This trigger)
Events
Player - Player 1 (Red) Presses the Up Arrow key
Conditions
Actions
Unit - Create 1 Necromancer (Balanced) for (Triggering player) at ((Triggering player) start location) facing (Center of (Playable map area))
Unit - Create 3 Raised Dead (All) for (Triggering player) at ((Triggering player) start location) facing (Center of (Playable map area))
Trigger - Turn off (This trigger)
So Basically I want so when the player presses Left/Right Arrows a Different Hero will spawn, and obviously turn off all the other options so you can't exploit the trigger.
If you are reading this and know how to also make the Down Arrow Spawn a one of three heroes as well, that would be
great.
I do know I could duplicate this trigger twice for each Player, but that would be thirty triggers..
Last edited: