Condition_IsSchoolActivity
Description
Script condition function to check whether the BaseObject character is currently in a specific SchoolActivity schedule slot.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The school character whose current activity is checked (Self or Target). |
| CompareType | Equal: character is in the activity; NotEqual: character is not in the activity. |
| S1 | SchoolActivity table row ID to compare against the current schedule slot. |
Notes
- Returns false if BaseObject cannot resolve to a school member.
- If multiple schedule slots are active, this condition succeeds when any active slot has the requested SchoolActivity ID.
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|---|---|---|---|
| Check if Self is in math class | Self | IsSchoolActivity | Equal | School_Subject_Math |
| Check if Target is not in math class | Target | IsSchoolActivity | NotEqual | School_Subject_Math |
Back to Command FinderSearch and filter all 491 Script Condition documents