Triggers/Events/Unit Gains Experience

From SC2Mapster Wiki
Jump to: navigation, search

Unit-Attributes And Experience

Unit Gains Experience

GUI

Unit - u gains experience

Galaxy Code

void TriggerAddEventUnitGainExperience (trigger t,unitref u)

Description

This event fires when a unit gains experience. Use "Triggering Behavior" to get the behavior. Use "Triggering Experience Gained" to get the amount of experience. Use "Triggering Player" to get the owner of the unit that gained experience. Use "Triggering Unit" to get the unit that gained experience.

Parameters