Use arrays for this, or Hashtables if apparent. When you select a unit, it becomes your unit's target. A unit array should be used and called something like Target. Make it an array. When you select a unit, set Target[<INSERT ARRAY NUMBERS>] to Target[Player number of (Triggering Player)]. Add an SFX to the Target afterwards, or a custom unit. I'm not sure about the torso though. The 1, 2, 3 ,4 button abilities are easy. Use the event that detects a key being pressed and order the "Hero" unit to use an ability at the target or target location.
0
Here's two suggestions:
1. Change GPS to Scry.
2. Change Sprint to Haste of Dash
0
Who?
0
0
It shows it 3 times for me. Its been like that even BEFORE the patch though :(. WHHHYYY BLIIZZAAARRDD! WHHHYYY!!!
0
WTF IS THIS??!! This is genius of course. Simple and effective explanation. Very nice tutorial. Now, where's the +Rep button?
0
Hashtables would be nice.
0
Agreed...
0
Use arrays for this, or Hashtables if apparent. When you select a unit, it becomes your unit's target. A unit array should be used and called something like Target. Make it an array. When you select a unit, set Target[<INSERT ARRAY NUMBERS>] to Target[Player number of (Triggering Player)]. Add an SFX to the Target afterwards, or a custom unit. I'm not sure about the torso though. The 1, 2, 3 ,4 button abilities are easy. Use the event that detects a key being pressed and order the "Hero" unit to use an ability at the target or target location.