setHasSight: Difference between revisions
Jump to navigation
Jump to search
(New page: ==Function setHasSight== Sets if the Token:Current Token has Token:Sight or not. If the argument is 0 the Token:Current Token does not have Token:Sight if it is non zer...) |
Verisimilar (talk | contribs) m (Applied Template:MacroFunction) |
||
Line 1: | Line 1: | ||
= | {{MacroFunction | ||
|name=setHasSight | |||
|description= | |||
Sets if the [[Token:Current Token|Current Token]] has [[Token:Sight|Sight]] or not. If the argument is 0 the [[Token:Current Token|Current Token]] does not have [[Token:Sight|Sight]] if it is non zero then it does. | Sets if the [[Token:Current Token|Current Token]] has [[Token:Sight|Sight]] or not. If the argument is 0 the [[Token:Current Token|Current Token]] does not have [[Token:Sight|Sight]] if it is non zero then it does. | ||
You can not set the [[Token:Sight|Sight]] of a [[Token:NPC|NPC]] [[Token:Token|Token]]. | You can not set the [[Token:Sight|Sight]] of a [[Token:NPC|NPC]] [[Token:Token|Token]]. | ||
|usage= | |||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
[h: setHasSight(val)] | [h: setHasSight(val)] | ||
</source> | </source> | ||
}} | |||
[[Category:Sight Function]] |
Revision as of 03:56, 9 March 2009
setHasSight() Function
Sets if the Current Token has Sight or not. If the argument is 0 the Current Token does not have Sight if it is non zero then it does.
You can not set the Sight of a NPC Token.
Usage
[h: setHasSight(val)]