EVENT_PLAYER_UNIT_SUMMON

comment

Runs when something summons a new unit under specified player's control.

Use GetSummonedUnit for the new unit and GetSummoningUnit for the spell caster.

note

See: EVENT_UNIT_SUMMON

note

GetTriggerUnit is equivalent to GetSummonedUnit.

patch

1.00

Source
common.j (raise an issue to discuss on Github or submit a PR)
Source code
    constant playerunitevent EVENT_PLAYER_UNIT_SUMMON                   = ConvertPlayerUnitEvent(47)