on controls_off

From Arx Libertatis Wiki
Jump to navigation Jump to search

The controls_off script event is sent asynchronously by the caller to all NPCs when player input is disabled using the setplayercontrols off command. This event never has any parameters.

This event is not sent when player input was already disabled before calling the setplayercontrols command. Enabling input sends the controls_on event instead.