# Healing Player
Grammar — Healing player
Flags —Native
|Function
Returns the healing player.
Returns — int
native int EventUnitHealLaunchPlayer();
# Supported triggers
- Unit Takes Damage — TriggerAddEventUnitDamaged
- Unit Absorbs Damage — TriggerAddEventUnitDamageAbsorbed
# Related
Category: Unit / Combat
- Get Unit Damage Dealt Time —
fixed
— UnitGetDamageDealtTime - Get Unit Damage Taken Time —
fixed
— UnitGetDamageTakenTime - Weapon Used In Attack —
string
<gamelink::Weapon> — EventUnitGetWeapon - Item Used In Attack —
unit
— EventUnitGetItem - Item Type Used In Attack —
string
<gamelink::Item> — EventUnitGetItemType - Unit Dies —
void
— TriggerAddEventUnitDied - Killing Unit —
unit
— libNtve_gf_KillingUnit - Killing Player —
int
— libNtve_gf_KillingPlayer - Triggering Death Type Check —
bool
— EventUnitDamageDeathCheck - Unit Is Being Removed —
void
— TriggerAddEventUnitRemoved - Unit Starts Attacking (Deprecated) —
void
— TriggerAddEventUnitStartedAttack - Unit Starts Attacking —
void
— TriggerAddEventUnitStartedAttack2 - Unit Is Attacked (Deprecated) —
void
— TriggerAddEventUnitAttacked - Unit Is Attacked —
void
— TriggerAddEventUnitAttacked2 - Attacking Unit —
unit
— EventUnitTarget - Unit Absorbs Damage —
void
— TriggerAddEventUnitDamageAbsorbed - Unit Takes Damage —
void
— TriggerAddEventUnitDamaged - Damaging Unit —
unit
— EventUnitDamageSourceUnit - Damaging Player —
int
— EventUnitDamageSourcePlayer - Damaging Effect —
string
<gamelink::Effect> — EventUnitDamageEffect - Triggering Damage Taken —
fixed
— EventUnitDamageAmount - Triggering Damage Attempted —
fixed
— EventUnitDamageAttempted - Triggering Damage Attempted Vitals —
fixed
— EventUnitDamageAttemptedVitals - Triggering Damage Absorbed —
fixed
— EventUnitDamageAbsorbed - Triggering Damage Behavior Shield —
fixed
— EventUnitDamageBehaviorShield - Triggering Vitals Leeched —
fixed
— EventUnitDamageVitalsLeeched - Triggering Unit Kill XP —
int
— EventUnitDamageKillXP - Damage Source Position —
point
— EventUnitDamageSourcePoint - Unit is Healed —
void
— TriggerAddEventUnitHealed - Healing Unit —
unit
— EventUnitHealLaunchUnit - Healing Player —
int
— EventUnitHealLaunchPlayer - Triggering Heal Vital Type —
int
<preset::UnitVitalType> — EventUnitHealVital - Triggering Heal Given —
fixed
— EventUnitHealAmount - Healing Effect —
string
<gamelink::Effect> — EventUnitHealEffect - Unit Spends Vital —
void
— TriggerAddEventUnitSpendVital - Triggering Spent Vital Type —
int
<preset::UnitVitalType> — EventUnitSpentVitalVital - Triggering Vital Spent —
fixed
— EventUnitSpentVitalAmount - Unit Acquires Target —
void
— TriggerAddEventUnitAcquiredTarget - Acquired Target —
unit
— libNtve_gf_AcquiredTarget - Unit Is Revived —
void
— TriggerAddEventUnitRevive - Triggering Victim Unit —
unit
— EventUnitVictimUnit - Triggering Item Used —
unit
— EventUnitItemUsed - Triggering Effect Used —
string
<gamelink::Effect> — EventUnitEffectUsed
# Examples
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10800
// Conditions
if (testConds) {
if (!((EventUnitHealLaunchPlayer() == 1))) {
return false;
}
mods/heromods/alexstrasza.stormmod — base.stormdata/LibHALE.galaxy:291
// Variable Initialization
lv_alexstrasza = EventUnitHealLaunchUnit();
lv_healingPlayer = EventUnitHealLaunchPlayer();
lv_targetUnit = EventUnit();
lv_healAmount = EventUnitHealAmount();
mods/heromods/alexstrasza.stormmod — base.stormdata/LibHALE.galaxy:299
// Conditions
if (testConds) {
if (!((PlayerHasTalent(EventUnitHealLaunchPlayer(), "AlexstraszaOverprotectiveAbundance") == true))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:26216
// Automatic Variable Declarations
// Variable Initialization
lv_healingPlayer = EventUnitHealLaunchPlayer();
lv_healedPlayer = EventPlayer();
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:6819
// Conditions
if (testConds) {
if (!((PlayerGroupHasPlayer(libCOOC_gf_HumanPlayers(), EventUnitHealLaunchPlayer()) == true))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:6827
}
if (!((libCOOC_gf_ActiveCommanderForPlayer(EventUnitHealLaunchPlayer()) == "TerranRaynor"))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:6897
// Conditions
if (testConds) {
if (!((PlayerGroupHasPlayer(libCOOC_gf_HumanPlayers(), EventUnitHealLaunchPlayer()) == true))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:6905
}
if (!((libCOOC_gf_ActiveCommanderForPlayer(EventUnitHealLaunchPlayer()) == "TerranSwann"))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:7194
// Conditions
if (testConds) {
if (!((PlayerGroupHasPlayer(libCOOC_gf_HumanPlayers(), EventUnitHealLaunchPlayer()) == true))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:7202
}
if (!((libCOOC_gf_ActiveCommanderForPlayer(EventUnitHealLaunchPlayer()) == "ZergAbathur"))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:7315
// Conditions
if (testConds) {
if (!((PlayerGroupHasPlayer(libCOOC_gf_HumanPlayers(), EventUnitHealLaunchPlayer()) == true))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:7323
}
if (!((libCOOC_gf_ActiveCommanderForPlayer(EventUnitHealLaunchPlayer()) == "ProtossAlarak"))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:7356
// Conditions
if (testConds) {
if (!((PlayerGroupHasPlayer(libCOOC_gf_HumanPlayers(), EventUnitHealLaunchPlayer()) == true))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:7364
}
if (!((libCOOC_gf_ActiveCommanderForPlayer(EventUnitHealLaunchPlayer()) == "ProtossAlarak"))) {
return false;
}