· Home · Glossary · Sitemap ·
· ·
 

TrigQuestVar

Triggers when the value of a quest variable matches a condition. The Trap→Quest Var property is written with an operator, number, and variable name like TrapMissionQVar. When the variable changes, it will be compared with the number and trigger accordingly.

Op Triggers when…
= The variable is equal to the number.
< The variable is less than the number.
> The variable is greater than the number.
& Any of the bits set in the number are also set in the variable.
| All of the bits set in the number are also set in the variable.
% The variable can be divided evenly by the number.
" The variable has the same decimal digits as the number.
Inherits BaseTrap, BaseQuestVariable
Properties Trap\Quest Var, Script\QB Name
 
  public_scripts/trigquestvar.txt · Last modified: 2010/11/22 17:07 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Tip Bucket Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki