on main

From Arx Libertatis Wiki
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.