on controls_on

From Arx Libertatis Wiki
Jump to navigation Jump to search

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

This event is not sent when player input was already enabled before calling the setplayercontrols command. Disabling input sends the controls_off event instead.