setMapVision

From RPTools Wiki
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