# Killing Player
Grammar — Killing player
Flags —Function
Returns the killing player.
Returns — int
int libNtve_gf_KillingPlayer();
# Supported triggers
- Unit Dies — TriggerAddEventUnitDied
# Related
Category: Unit / Combat
- [F] —
fixed
— Get Unit Damage Dealt Time — ( UnitGetDamageDealtTime ) - [F] —
fixed
— Get Unit Damage Taken Time — ( UnitGetDamageTakenTime ) - [F] —
string
[ gamelink::Weapon ] — Weapon Used In Attack — ( EventUnitGetWeapon ) - [F] —
unit
— Item Used In Attack — ( EventUnitGetItem ) - [F] —
string
[ gamelink::Item ] — Item Type Used In Attack — ( EventUnitGetItemType ) - [F] —
void
— Unit Dies — ( TriggerAddEventUnitDied ) - [F] —
unit
— Killing Unit — ( libNtve_gf_KillingUnit ) - [F] —
int
— Killing Player — ( libNtve_gf_KillingPlayer ) - [F] —
bool
— Triggering Death Type Check — ( EventUnitDamageDeathCheck ) - [F] —
void
— Unit Is Being Removed — ( TriggerAddEventUnitRemoved ) - [F] —
void
— Unit Starts Attacking (Deprecated) — ( TriggerAddEventUnitStartedAttack ) - [F] —
void
— Unit Starts Attacking — ( TriggerAddEventUnitStartedAttack2 ) - [F] —
void
— Unit Is Attacked (Deprecated) — ( TriggerAddEventUnitAttacked ) - [F] —
void
— Unit Is Attacked — ( TriggerAddEventUnitAttacked2 ) - [F] —
unit
— Attacking Unit — ( EventUnitTarget ) - [F] —
void
— Unit Absorbs Damage — ( TriggerAddEventUnitDamageAbsorbed ) - [F] —
void
— Unit Takes Damage — ( TriggerAddEventUnitDamaged ) - [F] —
unit
— Damaging Unit — ( EventUnitDamageSourceUnit ) - [F] —
int
— Damaging Player — ( EventUnitDamageSourcePlayer ) - [F] —
string
[ gamelink::Effect ] — Damaging Effect — ( EventUnitDamageEffect ) - [F] —
fixed
— Triggering Damage Taken — ( EventUnitDamageAmount ) - [F] —
fixed
— Triggering Damage Attempted — ( EventUnitDamageAttempted ) - [F] —
fixed
— Triggering Damage Attempted Vitals — ( EventUnitDamageAttemptedVitals ) - [F] —
fixed
— Triggering Damage Absorbed — ( EventUnitDamageAbsorbed ) - [F] —
fixed
— Triggering Damage Behavior Shield — ( EventUnitDamageBehaviorShield ) - [F] —
fixed
— Triggering Vitals Leeched — ( EventUnitDamageVitalsLeeched ) - [F] —
int
— Triggering Unit Kill XP — ( EventUnitDamageKillXP ) - [F] —
point
— Damage Source Position — ( EventUnitDamageSourcePoint ) - [F] —
void
— Unit is Healed — ( TriggerAddEventUnitHealed ) - [F] —
unit
— Healing Unit — ( EventUnitHealLaunchUnit ) - [F] —
int
— Healing Player — ( EventUnitHealLaunchPlayer ) - [F] —
int
[ preset::UnitVitalType ] — Triggering Heal Vital Type — ( EventUnitHealVital ) - [F] —
fixed
— Triggering Heal Given — ( EventUnitHealAmount ) - [F] —
string
[ gamelink::Effect ] — Healing Effect — ( EventUnitHealEffect ) - [F] —
void
— Unit Spends Vital — ( TriggerAddEventUnitSpendVital ) - [F] —
int
[ preset::UnitVitalType ] — Triggering Spent Vital Type — ( EventUnitSpentVitalVital ) - [F] —
fixed
— Triggering Vital Spent — ( EventUnitSpentVitalAmount ) - [F] —
void
— Unit Acquires Target — ( TriggerAddEventUnitAcquiredTarget ) - [F] —
unit
— Acquired Target — ( libNtve_gf_AcquiredTarget ) - [F] —
void
— Unit Is Revived — ( TriggerAddEventUnitRevive ) - [F] —
unit
— Triggering Victim Unit — ( EventUnitVictimUnit ) - [F] —
unit
— Triggering Item Used — ( EventUnitItemUsed ) - [F] —
string
[ gamelink::Effect ] — Triggering Effect Used — ( EventUnitEffectUsed )
# Examples
# campaigns/liberty.sc2campaign
// L7960
libNtve_gf_KillingPlayer()
// L4689
libNtve_gf_KillingPlayer()
// L7960
libNtve_gf_KillingPlayer()
// L4689
libNtve_gf_KillingPlayer()
// L2401
libNtve_gf_KillingPlayer()
// L2401
libNtve_gf_KillingPlayer()
// L4164
libNtve_gf_KillingPlayer()
// L1361
libNtve_gf_KillingPlayer()
// L4319
libNtve_gf_KillingPlayer()
// L4164
libNtve_gf_KillingPlayer()
// L1361
libNtve_gf_KillingPlayer()
// L4319
libNtve_gf_KillingPlayer()
# mods/heroesbrawlmods/arenamodemods/gardenarena.stormmod
// L1748
libNtve_gf_KillingPlayer()
// L1749
libNtve_gf_KillingPlayer()
# mods/heroesbrawlmods/arenamodemods/trialgrounds.stormmod
// L2769
libNtve_gf_KillingPlayer()
# mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod
// L5816
libNtve_gf_KillingPlayer()
// L5820
libNtve_gf_KillingPlayer()
// L5820
libNtve_gf_KillingPlayer()
// L5830
libNtve_gf_KillingPlayer()
// L5835
libNtve_gf_KillingPlayer()
// L5837
libNtve_gf_KillingPlayer()
// L4541
libNtve_gf_KillingPlayer()
// L4542
libNtve_gf_KillingPlayer()
// L4552
libNtve_gf_KillingPlayer()
// L4553
libNtve_gf_KillingPlayer()
# mods/heroesbrawlmods/brawlmapmods/coop/pvebrawlmod.stormmod
// L2069
libNtve_gf_KillingPlayer()
# mods/heroesbrawlmods/brawlmapmods/coop/pvebrawlstarcraft.stormmod
// L103
libNtve_gf_KillingPlayer()
# mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmod
// L2427
libNtve_gf_KillingPlayer()
# mods/heroesbrawlmods/brawlmapmods/coop/pvestarcraft.stormmod
// L103
libNtve_gf_KillingPlayer()
# mods/heroesdata.stormmod
// L13173
libNtve_gf_KillingPlayer()
// L13196
libNtve_gf_KillingPlayer()
// L17035
libNtve_gf_KillingPlayer()
// L17140
libNtve_gf_KillingPlayer()
// L19790
libNtve_gf_KillingPlayer()
// L19798
libNtve_gf_KillingPlayer()
// L19813
libNtve_gf_KillingPlayer()
# mods/heroesdata.stormmod
// L16934
libNtve_gf_KillingPlayer()
// L17327
libNtve_gf_KillingPlayer()
// L18862
libNtve_gf_KillingPlayer()
// L18871
libNtve_gf_KillingPlayer()
// L18953
libNtve_gf_KillingPlayer()
# mods/heroesmapmods/battlegroundmapmods/hauntedmines.stormmod
// L1862
libNtve_gf_KillingPlayer()
# mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod
// L1421
libNtve_gf_KillingPlayer()
// L1422
libNtve_gf_KillingPlayer()
// L1423
libNtve_gf_KillingPlayer()
// L1424
libNtve_gf_KillingPlayer()
// L1440
libNtve_gf_KillingPlayer()
// L1440
libNtve_gf_KillingPlayer()
// L1441
libNtve_gf_KillingPlayer()
// L1443
libNtve_gf_KillingPlayer()
// L1492
libNtve_gf_KillingPlayer()
// L1492
libNtve_gf_KillingPlayer()
# mods/heromods/guldan.stormmod
// L378
libNtve_gf_KillingPlayer()
# mods/novastoryassets.sc2mod
// L3649
libNtve_gf_KillingPlayer()
// L2120
libNtve_gf_KillingPlayer()
// L7250
libNtve_gf_KillingPlayer()
// L1832
libNtve_gf_KillingPlayer()
// L4475
libNtve_gf_KillingPlayer()
// L8854
libNtve_gf_KillingPlayer()
// L8893
libNtve_gf_KillingPlayer()
// L2108
libNtve_gf_KillingPlayer()
// L8361
libNtve_gf_KillingPlayer()
// L4083
libNtve_gf_KillingPlayer()
// L3649
libNtve_gf_KillingPlayer()
// L2120
libNtve_gf_KillingPlayer()
// L7250
libNtve_gf_KillingPlayer()
// L1832
libNtve_gf_KillingPlayer()
// L4475
libNtve_gf_KillingPlayer()
// L8854
libNtve_gf_KillingPlayer()
// L8893
libNtve_gf_KillingPlayer()
// L2108
libNtve_gf_KillingPlayer()
// L8361
libNtve_gf_KillingPlayer()
// L4083
libNtve_gf_KillingPlayer()
# mods/starcoop/starcoop.sc2mod
// L15213
libNtve_gf_KillingPlayer()
// L15217
libNtve_gf_KillingPlayer()
// L15221
libNtve_gf_KillingPlayer()
// L15241
libNtve_gf_KillingPlayer()
// L15621
libNtve_gf_KillingPlayer()
// L15625
libNtve_gf_KillingPlayer()
// L15637
libNtve_gf_KillingPlayer()
// L17578
libNtve_gf_KillingPlayer()
// L17582
libNtve_gf_KillingPlayer()
// L17586
libNtve_gf_KillingPlayer()
# mods/starcoop/starcoop.sc2mod
// L523
libNtve_gf_KillingPlayer()
# mods/starcoop/starcoop.sc2mod
// L6312
libNtve_gf_KillingPlayer()
// L8533
libNtve_gf_KillingPlayer()
// L8537
libNtve_gf_KillingPlayer()
// L8541
libNtve_gf_KillingPlayer()
// L8555
libNtve_gf_KillingPlayer()
// L8555
libNtve_gf_KillingPlayer()