Skip to content

ContextualConditionTimeSinceStealthStateChange

Inheritance 1 ancestor · 62 siblings

Class Documentation

Edit documentation

A condition on the time since the owner's stealth state changed. The situation context holds two change times. mStateToCheck selects one. If that time is not recorded, the condition fails. Otherwise the condition passes if the elapsed time compares to mTimeThreshold with mCompareOp.

Properties

mStateToCheck

U8 = 1
Edit documentation

Selects the change time: 0 selects one time and any other value the other. Which one records entering stealth and which one leaving it is not identified.