setZoomLock: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Created page with "{{MacroFunction |name=setZoomLock |version=1.14.0 |description= Sets the Lock Zoom setting to (0) unchecked, or (1) checked. |usage= <syntaxhighlight lang="mtmacro" line> setZoomLock(0/1) </syntaxhighlight> '''Parameters''' {{param|0/1|Clears/Checks Lock Zoom.}} |example= <syntaxhighlight lang="mtmacro" line> [r: setMoveLock(1)] </syntaxhighlight> Locks Player Movement }}")
 
No edit summary
Line 14: Line 14:
|example=
|example=
<syntaxhighlight lang="mtmacro" line>
<syntaxhighlight lang="mtmacro" line>
[r: setMoveLock(1)]
[r: setZoomLock(1)]
</syntaxhighlight>
</syntaxhighlight>
Locks Player Movement
Locks Player Movement
}}
}}

Revision as of 16:09, 26 March 2024

setZoomLock() Function

Introduced in version 1.14.0
Sets the Lock Zoom setting to (0) unchecked, or (1) checked.

Usage

setZoomLock(0/1)

Parameters

  • 0/1 - Clears/Checks Lock Zoom.

Example

[r: setZoomLock(1)]
Locks Player Movement