— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
Locks or unlocks the player's ability to interact with objects or speak to characters in the scene.
set_player_interaction_locked(is_locked)
Argument | Description | Type | Required |
---|---|---|---|
is_locked | State of player interaction. | Boolean | Yes |
set_player_interaction_locked(true);
Results: The player is no longer able to interact with any objects or characters until their interaction is re-enabled.
Use the Lock/Unlock Player Interaction function to prevent the player from interacting with objects during a cutscene. This will typically be used in conjunction with Lock/Unlock Player Movement.