setHasSight: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
|name=setHasSight | |name=setHasSight | ||
|version=1.3b48 | |version=1.3b48 | ||
|trusted=false | |||
|description= | |description= | ||
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= | |||
<source lang="mtmacro" line> | |||
setHasSight(state) | |||
</source> | |||
'''Parameters''' | |||
{{param|state|Boolean - true to enable sight, false to disable }} | |||
| | |example= | ||
Enables sight for [[Current Token]] | |||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
setHasSight( | [h: setHasSight(1)] | ||
</source> | </source> | ||
Returns: Empty String. | |||
}} | }} | ||
[[Category:Sight Function]] | [[Category:Sight Function]] |
Revision as of 13:39, 6 July 2019
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
Returns: Empty String.
[h: setHasSight(1)]