Hello,
So I'm pretty new to triggers, trying to make a hero selection but it does not work, here's the code:
So I'm pretty new to triggers, trying to make a hero selection but it does not work, here's the code:
-
slcRgn1
-
Events
-
Unit - A unit enters selectFootman <gen>
-
-
Conditions
-
Actions
-
Unit - Create 1 Footman for (Owner of (Triggering unit)) at (Center of Spawn <gen>) facing Default building facing degrees
-
Set plrUnit[(Player number of (Owner of (Triggering unit)))] = (Last created unit)
-
Unit - Remove (Triggering unit) from the game
-
Trigger - Turn off (This trigger)
-
-