ZeroThirteen
New Member
- Reaction score
- 35
THIS IS NOT YET SOLVED
I have a trigger that replaces training targets that sit there and do nothing with ones that attack. Unfortunately, it's not working the way it should be. Here are the triggers:
The trigger that turns off the attack functions the same.
And, for bonus points, tell me why this isn't working:
I have a trigger that replaces training targets that sit there and do nothing with ones that attack. Unfortunately, it's not working the way it should be. Here are the triggers:
Code:
[B]Events[/B]
Map initialization
[B]Conditions[/B]
[B]Actions[/B]
Set Towers = (Units in (Playable map area) owned by Player 12 (Brown))
Code:
[B]Events[/B]
Player - Player 1 (Red) types a chat message containing attack on as An exact match
Player - Player 2 (Blue) types a chat message containing attack on as An exact match
Player - Player 4 (Purple) types a chat message containing attack on as An exact match
Player - Player 6 (Orange) types a chat message containing attack on as An exact match
Player - Player 7 (Green) types a chat message containing attack on as An exact match
[B]Conditions[/B]
[B]Actions[/B]
Unit Group - Pick every unit in Towers and do (Actions)
Loop - Actions
Unit - Replace (Picked unit) with a Training Target (Attacking) using The old unit's relative life and mana
Set Towers = (Units in (Playable map area) owned by Player 12 (Brown))
The trigger that turns off the attack functions the same.
And, for bonus points, tell me why this isn't working:
Code:
[B]Events[/B]
Unit - Training Target 0009 <gen>'s life becomes Less than 100.00
Unit - Training Target 0010 <gen>'s life becomes Less than 100.00
Unit - Training Target 0011 <gen>'s life becomes Less than 100.00
Unit - Training Target 0012 <gen>'s life becomes Less than 100.00
Unit - Training Target 0013 <gen>'s life becomes Less than 100.00
[B]Conditions[/B]
[B]Actions[/B]
Unit - Set life of (Triggering unit) to 100.00%