setHasSight: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Added version.)
m (Unifying Current Token red link.)
Line 3: Line 3:
|version=1.3b48
|version=1.3b48
|description=
|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 [[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 [[Token:NPC|NPC]] [[Token:Token|Token]].

Revision as of 21:31, 4 April 2009

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)