T3rm1nat0r
New Member
- Reaction score
- 23
I can't seem to find "Unit Type of Selected Unit". It seems there is no option. What would fit as the "selected unit" in this trigger? I have tried triggering and targetted unit, it seems none of them work. What would be the one to work?
Thanks for any help!
PiCk
Code:
SelectHero
Events
Player - Player 1 (Red) Selects a unit
Player - Player 2 (Blue) Selects a unit
Player - Player 3 (Teal) Selects a unit
Player - Player 4 (Purple) Selects a unit
Player - Player 5 (Yellow) Selects a unit
Player - Player 6 (Orange) Selects a unit
Player - Player 7 (Green) Selects a unit
Player - Player 8 (Pink) Selects a unit
Player - Player 9 (Gray) Selects a unit
Player - Player 10 (Light Blue) Selects a unit
Player - Player 11 (Dark Green) Selects a unit
Player - Player 12 (Brown) Selects a unit
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Triggering unit)) Not equal to Circle of Power (large)
Then - Actions
Set UT_SelectedHero[(Player number of (Triggering player))] = (Unit-type of (Triggering unit))
Else - Actions
Thanks for any help!
PiCk