Event Handlers

From Bohemia Interactive Community
(Redirected from Event handlers)
Jump to navigation Jump to search

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