setZoomLock

From RPTools Wiki
Jump to navigation Jump to search

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