- Joined
- Oct 9, 2015
- Messages
- 721
So, I need to use the action: call SetUnitAnimationByIndex(udg_yourunit, #)
however I need to reffer to said unit in that way: udg_yourunit[PlayerNumberOfOwnerOfUnit()], #)
how can I reffer to specific player number instead of [GetForLoopIndexA()]
I need it because said unit is set for specific player number, like this :
however I need to reffer to said unit in that way: udg_yourunit[PlayerNumberOfOwnerOfUnit()], #)
how can I reffer to specific player number instead of [GetForLoopIndexA()]
I need it because said unit is set for specific player number, like this :
-
Set UnitHorse[(Player number of (Owner of (Triggering unit)))] = (Last created unit)