hasSight: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Macros:Functions:hasSight moved to hasSight: Moved out of Macros namespace)
m (Added MacroFunction template and Light Function category)
Line 1: Line 1:
==Function hasSight==
{{MacroFunction
 
|name=hasSight
|description=
Returns 1 if the [[Token:Current Token|Current Token]] has [[Token:sight|sight]].
Returns 1 if the [[Token:Current Token|Current Token]] has [[Token:sight|sight]].


===Usage===
|usage=
<source lang="mtmacro" line>
<source lang="mtmacro" line>
[h: sight = hasSight()]
[h: sight = hasSight()]
</source>
</source>
}}
[[Category:Light Function]]

Revision as of 04:18, 8 March 2009

hasSight() Function

Returns 1 if the Current Token has sight.

Usage

[h: sight = hasSight()]