Choppa
www.warcraft-gamers.po.gs
- Reaction score
- 59
Hey guys, been a while since I was last here.
So I got this trigger right...
I was wondering if I should use the bolded variable as an array or using it like that would be fine.
So I got this trigger right...
Code:
Buy Creeps
Events
Unit - A unit Finishes training a unit
Conditions
Actions
[B]Set lastTrainedUnit = (Unit-type of (Trained unit))[/B]
If ((Owner of (Triggering unit)) Equal to Player 1 (Red)) then do (Set creepSpawn = Ruins Naga Circle 0015 <gen>) else do (Do nothing)
If ((Owner of (Trained unit)) Equal to Player 2 (Blue)) then do (Set creepSpawn = Ruins Naga Circle 0059 <gen>) else do (Do nothing)
Unit - Create 5 lastTrainedUnit for Neutral Hostile at (Position of creepSpawn) facing Default building facing degrees
I was wondering if I should use the bolded variable as an array or using it like that would be fine.