DCS event base captured

From DCS World Wiki - Hoggitworld.com
Revision as of 00:12, 12 April 2018 by Grimes (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Event: S_EVENT_BASE_CAPTURED Added with: 1.2.4
Enum ID: 10
Description: Occurs when a ground unit captures either an airbase or a farp.

Initiator : The unit that captured the base

Place: The airbase that was captured, can be a FARP or Airbase. When calling place:getCoalition() the faction will already be the new owning faction.

Table Format: The base capture event table has following members
Event = {
  id = 10,
  time = Time,
  initiator = Unit,
  place = Airbase,
  subPlace = 0
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