Pyromancer
New Member
- Reaction score
- 16
hey, im making a rpg/hero arena, and was wondering how to mak a dueling trigger. i got a pretty vag vision of what it will look like, but wanted sum help.
im afraid ill have to make sepreate triggers for each player combo (please say im wrong!!!!!!!! :banghead: :banghead: :banghead: :banghead: )
please help
im afraid ill have to make sepreate triggers for each player combo (please say im wrong!!!!!!!! :banghead: :banghead: :banghead: :banghead: )
Code:
Events: Player types a chat message containing -duel blue as an exact mach
Conditions: Player 2 blue slot status equal to is playing
Actions: Pick every player in playable map area and do actions
Loop Actions: If all conditions are true, do then actions else do else actions
If Conditions: Picked unit is owned by player 1 red equal to true
Then Actions: Move picked unit to random point in duel region<gen>
Else Actions: If all conditions are true, do then actions else do else actions
If Conditions: Picked unit is owned by player 2 blue equal to true
Then Actions: Move picked unit to random point in duel region<gen>
Else Actions: Do nothing
please help