User Tools

Site Tools


4rpl:commands:setrplcamcursorlocked

This is an old revision of the document!


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/setrplcamcursorlocked.1613229518.txt.gz · Last modified: 2021/02/13 10:18 by virgilw