Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

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