Difference between revisions of "DCS singleton world"
From DCS World Wiki - Hoggitworld.com
Rurounijones (talk | contribs) m (minor formatting fix) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
|desc= The world singleton contains functions centered around two different but extremely useful functions. | |desc= The world singleton contains functions centered around two different but extremely useful functions. | ||
1. Events and event handlers are all governed within world. | 1. Events and event handlers are all governed within world. | ||
+ | |||
+ | '''Event Types:''' {{listOfEvents}} | ||
+ | |||
2. A number of functions to get information about the game world. | 2. A number of functions to get information about the game world. | ||
Line 31: | Line 34: | ||
S_EVENT_BIRTH = 15, | S_EVENT_BIRTH = 15, | ||
S_EVENT_HUMAN_FAILURE = 16, | S_EVENT_HUMAN_FAILURE = 16, | ||
− | S_EVENT_ENGINE_STARTUP = | + | S_EVENT_DETAILED_FAILURE = 17, |
− | S_EVENT_ENGINE_SHUTDOWN = | + | S_EVENT_ENGINE_STARTUP = 18, |
− | S_EVENT_PLAYER_ENTER_UNIT = | + | S_EVENT_ENGINE_SHUTDOWN = 19, |
− | S_EVENT_PLAYER_LEAVE_UNIT = | + | S_EVENT_PLAYER_ENTER_UNIT = 20, |
− | S_EVENT_PLAYER_COMMENT = | + | S_EVENT_PLAYER_LEAVE_UNIT = 21, |
− | S_EVENT_SHOOTING_START = | + | S_EVENT_PLAYER_COMMENT = 22, |
− | S_EVENT_SHOOTING_END = | + | S_EVENT_SHOOTING_START = 23, |
− | S_EVENT_MARK_ADDED = | + | S_EVENT_SHOOTING_END = 24, |
− | S_EVENT_MARK_CHANGE = | + | S_EVENT_MARK_ADDED = 25, |
− | S_EVENT_MARK_REMOVED = | + | S_EVENT_MARK_CHANGE = 26, |
− | S_EVENT_MAX = | + | S_EVENT_MARK_REMOVED = 27, |
+ | S_EVENT_KILL = 28, | ||
+ | S_EVENT_SCORE = 29, | ||
+ | S_EVENT_UNIT_LOST = 30, | ||
+ | S_EVENT_LANDING_AFTER_EJECTION = 31, | ||
+ | S_EVENT_PARATROOPER_LENDING = 32, | ||
+ | S_EVENT_DISCARD_CHAIR_AFTER_EJECTION = 33, | ||
+ | S_EVENT_WEAPON_ADD = 34, | ||
+ | S_EVENT_TRIGGER_ZONE = 35, | ||
+ | S_EVENT_LANDING_QUALITY_MARK = 36, | ||
+ | S_EVENT_BDA = 37, | ||
+ | S_EVENT_MAX = 38 | ||
} | } | ||
Line 63: | Line 77: | ||
|notes= | |notes= | ||
− | + | 2.5.5 Inserted S_EVENT_DETAILED_FAILURE into id 17. | |
+ | 2.5.6 Added S_EVENT_KILL, S_EVENT_SCORE , S_EVENT_UNIT_LOST , S_EVENT_LANDING_AFTER_EJECTION , -- Redacted for now. And changed S_EVENT_MAX to 33, | ||
}} | }} |
Revision as of 20:53, 14 April 2021