| Event:
|
S_EVENT_PILOT_DEAD
|
Added with: 1.2.4
|
|
|
| Enum ID:
|
9
|
Event Locality: None
|
| Description:
|
Occurs when the pilot of an aircraft is killed. Can occur either if the player is alive and crashes or if a weapon kills the pilot without completely destroying the plane.
Initiator : The unit that the pilot has died in.
|
|
|
| Table Format:
|
The pilot dead event table is in the following format.
Event = {
id = 9,
time = Time,
initiator = Unit,
}
|
|
|
| Examples:
|
|
| Notes:
|
|
| Events:
|
shot, hit, takeoff, land, crash, ejection, refueling, dead, pilot_dead, base_captured, mission_start, mission_end, took_control, refueling_stop, birth, human_failure, detailed_failure, engine_startup, engine_shutdown, player_enter_unit, player_leave_unit, player_comment, shooting_start, shooting_end, mark_added, mark_change, mark_remove, kill, score, unit_lost, landing_after_ejection, discard_chair_after_ejection, weapon_add, landing_quality_mark, ai_abort_mission, weapon_drop, runway_takeoff, runway_touch,
|