User Tools

Site Tools


4rpl:commands:setrplcamcursorlocked

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

4rpl:commands:setrplcamcursorlocked [2021/02/13 10:18] – created virgilw4rpl:commands:setrplcamcursorlocked [2024/03/28 20:18] (current) – removed Karsten75
Line 1: Line 1:
-~~NOTOC~~ 
-<=[[4rpl:start| 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 ===== 
-<code 4rpl> 
-SetRPLCamCursorLock(true) 
-</code> 
- 
-<=[[4rpl:start| Index]]