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
 
(2 intermediate revisions by the same user not shown)
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 Zoom on local client, mimics the Tool Menu, Lock Zoom feature
}}
}}

Latest revision as of 23:59, 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 Zoom on local client, mimics the Tool Menu, Lock Zoom feature