setHasSight: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Unifying Current Token red link.)
mNo edit summary
Line 5: Line 5:
Sets if the [[Current Token]] has [[Token:Sight|Sight]] or not. If the argument is 0 the [[Current Token]] does not have [[Token:Sight|Sight]] if it is non zero then it does.
Sets if the [[Current Token]] has [[Token:Sight|Sight]] or not. If the argument is 0 the [[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 [[NPC Token]].


|usage=
|usage=

Revision as of 13:57, 19 July 2011

setHasSight() Function

Introduced in version 1.3b48
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

setHasSight(val)