# Triggering Ability Other Unit

Grammar — Abilities other unit
FlagsNative | Function

Returns the “other unit” when an ability is used. For inventory abilities, this is the item used. For transports, it’s the unit being unloaded.

Returns — unit

native unit EventUnitAbilityOtherUnit();

# Supported triggers

Category: Ability / Basic

# Examples

# mods/core.sc2mod

NativeLib.galaxy

// L132
EventUnitAbilityOtherUnit()