SC2Mapster Wiki
Advertisement

Unit-Abilities[ | ]

Unit Uses Ability[ | ]

GUI[ | ]

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)

Description[ | ]

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.

Parameters[ | ]

  • trigger t
  • unit unit
    • Name: Unit
  • abilcmd ability
    • Name: Ability
  • preset stage
    • Preset: Ability Stage
    • Name: Stage
  • preset includeSharedAbilities
    • Preset: Include/Ignore Option
    • Name: Include Shared Abilities
Advertisement