setMapVision

From RPTools Wiki
Revision as of 23:59, 13 December 2023 by Taustin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

setMapVision() Function

 Note: This function can only be used in a Trusted Macro

Introduced in version 1.14.0
Changes the Map Vision setting of the current map.

Usage

setMapVision(new setting)

Parameters

  • vision setting - off, day or night

Examples

[setMapVision("day")]

Will set map vision to day.

[setMapVision("off")]

Will set map vision to off.

[setMapVision("night")]
Will set map vision to night.

See Also