Event Handlers – Category

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "^=+ *[Ii]ntroduction *=+ * *" to "")
Line 1: Line 1:
==Introduction==
=


Event handlers can be defined in unit or dialog config or by function [[addEventHandler]] or [[displaySetEventHandler]].<br>
Event handlers can be defined in unit or dialog config or by function [[addEventHandler]] or [[displaySetEventHandler]].<br>

Revision as of 20:47, 31 January 2021

=

Event handlers can be defined in unit or dialog config or by function addEventHandler or displaySetEventHandler.
Multiple handlers can be attached at one time.

MP notes: "Killed" and "Hit" eventhandlers are executed where given unit is local.
All other eventhandlers are executed on all computers.
Events added by addEventHandler may be different on each computer.

For more information on Multiplayer locality see: Multiplayer Locality