Skip to main content

Condition_IsStatUrgent

Description

Checks whether the specified desire stat of the BaseObject character is urgent (Warning or Dangerous phase). Only Toilet, Hunger and Sleep can be urgent; any other stat always reads as not urgent.

Parameters

ParameterDescription
BaseObjectThe character whose stat is checked (Self or Target)
CompareTypeEqual: the stat is urgent. NotEqual: the stat is not urgent
S1The Stat ID to check (Toilet, Hunger, Sleep)

Examples

DescriptionBaseObjectCommandCompareTypeS1
Check if Self's Hunger is urgentSelfIsStatUrgentEqualHunger
Check if Target's Toilet is not urgentTargetIsStatUrgentNotEqualToilet