Event Handlers – Category

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "^=+ * " to "")
m (Removed random information as it's present already where the EHs are documented)
 
Line 1: Line 1:
Event handlers can be defined in unit or dialog config or by function [[addEventHandler]] or [[displaySetEventHandler]].<br>
Event handlers are available for various game entities such as [[Group|groups]], [[Display|displays]], [[Control|controls]], [[Object|objects]] and the mission itself. See [[:Category:Command Group: Event Handlers|Command Group: Event Handlers]] for all related commands.
Multiple handlers can be attached at one time.<br>
 
'''MP notes''': "'''Killed'''" and "'''Hit'''" eventhandlers are executed where given unit is [[local]].<br>
All other eventhandlers are executed on all computers.<br>
Events added by [[addEventHandler]] may be different on each computer.
 
For more information on Multiplayer locality see: [[Locality in Multiplayer|Multiplayer Locality]]
 


[[Category: Reference Lists]]
[[Category: Reference Lists]]
[[Category: Scripting Topics]]
[[Category: Scripting Topics]]

Latest revision as of 19:34, 5 April 2024

Event handlers are available for various game entities such as groups, displays, controls, objects and the mission itself. See Command Group: Event Handlers for all related commands.