Skip to main content

Condition_HasHomework

Description

Checks whether the BaseObject character has a homework object in either hand or inventory. Homework objects are identified by the Book_Homework tag. The requested state is evaluated from HomeworkProgress.

Parameters

ParameterDescription
BaseObjectThe character whose hand and inventory are inspected.
CompareTypeEqual checks that matching homework exists; NotEqual negates.
S1Homework state. Valid values are Doing and Completed.

Examples

DescriptionBaseObjectCommandCompareTypeS1
Check if Self has in-progress homeworkSelfHasHomeworkEqualDoing
Check if Target has completed homeworkTargetHasHomeworkEqualCompleted