SC2Mapster Wiki
Advertisement

Unit-Combat[ | ]

Unit Dies[ | ]

GUI[ | ]

Unit - u dies

Galaxy Code[ | ]

void TriggerAddEventUnitDied (trigger t,unitref u)

Description[ | ]

This event fires when a unit dies. Use "Damage Source Position" to get the position of the unit that dealt the killing blow. Use "Killing Player" to get the owner of the unit that dealt the killing blow. Use "Killing Unit" to get the unit that dealt the killing blow. Use "Triggering Death Type Check" to get the death type. Use "Triggering Player" to get the owner of the unit that died. Use "Triggering Unit" to get the unit that died. Use "Experience Level Of Unit" to get the experience level of the unit that died. Use "Total Experience Of Unit" to get the total number of experience points the unit had before it died.

Parameters[ | ]

Advertisement