I would like to have a trigger that fires when ever a player used any ability command. To do this I am using the event:
Unit-AnyUnitisissuedanordertoAnyAbilityCommand
Within that trigger, I would then like to determine whether or not this is a "Train", "Build", or "Morph" ability, and if it is, get the unit that will be created by the ability command. It seems as if the functions are very limited when it comes to working with commands. Does anyone know how to do this?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I would like to have a trigger that fires when ever a player used any ability command. To do this I am using the event:
Within that trigger, I would then like to determine whether or not this is a "Train", "Build", or "Morph" ability, and if it is, get the unit that will be created by the ability command. It seems as if the functions are very limited when it comes to working with commands. Does anyone know how to do this?