This shows you the differences between two versions of the page.
4rpl:commands:setrplcamcursorlocked [2021/02/13 15:18] – created virgilw | 4rpl:commands:setrplcamcursorlocked [2024/03/29 00:18] (current) – removed Karsten75 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~NOTOC~~ | ||
- | < | ||
- | :!: Available in version 1.3 and later. | ||
- | ====== SetRPLCamCursorLock====== | ||
- | SetRPLCamCursorLock(< | ||
- | |||
- | ===== 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. | ||
- | |||
- | ===== Examples ===== | ||
- | <code 4rpl> | ||
- | SetRPLCamCursorLock(true) | ||
- | </ | ||
- | |||
- | < |