-
Tag Ability
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Tag Him!!!
-
Actions
- Set TempLocation = (Position of TagPlayersArray[(Player number of (Owner of (Triggering unit)))])
- Unit - Remove (Casting unit) from the game
- Unit - Create 1 Tag Player for (Player((Player number of (Owner of (Triggering unit))))) at TempLocation facing Default building facing degrees
- Camera - Pan camera for (Player((Player number of (Owner of (Triggering unit))))) to (Position of (Last created unit)) over 0.00 seconds
- Selection - Select (Last created unit) for (Player((Player number of (Owner of (Triggering unit)))))
- Set TagPlayersArray[(Player number of (Player((Player number of (Owner of (Triggering unit))))))] = (Last created unit)
- Set TempLocation = (Position of TagPlayersArray[(Player number of (Owner of (Target unit of ability being cast)))])
- Unit - Remove (Target unit of ability being cast) from the game
- Unit - Create 1 Your It! for (Player((Player number of (Owner of (Target unit of ability being cast))))) at TempLocation facing Default building facing degrees
- Selection - Select (Last created unit) for (Player((Player number of (Owner of (Target unit of ability being cast)))))
- Camera - Pan camera for (Player((Player number of (Owner of (Target unit of ability being cast))))) to (Position of (Last created unit)) over 0.00 seconds
- Set TagPlayersArray[(Player number of (Player((Player number of (Owner of (Target unit of ability being cast))))))] = (Last created unit)
- Set YourItPlayerInt = (Player number of (Player((Player number of (Owner of (Target unit of ability being cast))))))
-
Events
If its too complex pm me and ill send ya the map, sorry if i have some bad English but i'm not English
Thx in advance!
P.S.: if there's a simpler way of doing this(without jass, im still learning it), then tell me i like to learn