User Tools

Site Tools


4rpl:commands:setrplcamcursorlock

Index

:!: Available in version 1.3 and later.

SetRPLCamCursorLock

SetRPLCamCursorLock(<-locked)

Description

Causes the mouse cursor to become invisible and locked to the center of the game view. If the player presses ESC to bring up the menu, the cursor will revert to being visible and movable. If the main menu is dismissed, the cursor will return to the locked state. This API only works while RPLCam mode is enabled.

Examples

SetRPLCamCursorLock(true)

Index

4rpl/commands/setrplcamcursorlock.txt · Last modified: 2024/03/28 20:17 by Karsten75