setHasSight

From RPTools Wiki
Revision as of 13:39, 6 July 2019 by Phergus (talk | contribs)
Jump to navigation Jump to search

setHasSight() Function

Introduced in version 1.3b48
Enables/disables sight for the Current Token. If the argument is 0 (false) sight will be disabled on the Current Token. If it is non-zero (true) sight is enabled.

Usage

setHasSight(state)

Parameters

  • state - Boolean - true to enable sight, false to disable

Example

Enables sight for Current Token
[h: setHasSight(1)]
Returns: Empty String.