Lightstalker
New Member
- Reaction score
- 55
im still wondering about this; i dont know if it was answered
like when we are testing our heroes we can preplace them and set them to a global variable; easy.
Can the judges set just one unit variable in our script to our hero? otherwise i can't imagine how to figure out a way to find out what hero is yours
Well this is easy:
Trigger:
- Initialization
- Events
- Map initialization
- Conditions
- Actions
- Set Enemy_Group = (Units owned by Player 2 (Blue) matching (((Matching unit) is A Hero) Equal to True))
- Set Enemy = (Random unit from Enemy_Group)
- Unit - Create 1 IBetYourWonderinWhatHeroIPicked for Player 1 (Red) at Initialization_Point facing (Random angle) degrees
- Set MyHero = (Last created unit)
- Events
Then all the mods have to do is replace the "Players". I'm sure there's an even better way to do this but coding don't matter so who cares...
JJimpy you should have taken it from a bird's eye view or at least more straight-on.