Triggers/Events/Unit Uses Ability

From SC2Mapster Wiki
Jump to: navigation, search


Unit Uses Ability


Unit - unit uses ability at stage stage (includeSharedAbilities|Include/Ignore shared abilities)

Galaxy Code

void TriggerAddEventUnitAbility (trigger t,unitref u,abilcmd a,int stage,bool includeSharedAbils)


This event fires when a unit uses an ability. Use "Triggering Ability" to get the ability that was used. Use "Triggering Ability Stage" to get the stage the ability was in when the event fired. Use "Triggering Ability Target Point" to get the target point for the ability. Use "Triggering Ability Target Unit" to get the target unit for the ability. Use "Triggering Player" to get the player that used the ability. Use "Triggering Unit" to get the unit that used the ability.