on main

From Arx Libertatis Wiki
Revision as of 00:21, 17 April 2020 by Ds (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The main script event is sent without a sender to every entity periodically when not dead. This event never has any parameters.

Each entity has a heartbeat event that it receives periodically. By default the main event is sent but for dead NPCs it is changed to dead. Scripts can set a custom heartbeat event using setmainevent or setstatus.