User Tools

Site Tools


public_scripts:trigquestvar

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 19:07 (external edit)