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
| Parameter | Description |
|---|---|
| BaseObject | The character whose hand and inventory are inspected. |
| CompareType | Equal checks that matching homework exists; NotEqual negates. |
| S1 | Homework state. Valid values are Doing and Completed. |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|---|---|---|---|
| Check if Self has in-progress homework | Self | HasHomework | Equal | Doing |
| Check if Target has completed homework | Target | HasHomework | Equal | Completed |
Back to Command FinderSearch and filter all 491 Script Condition documents