Condition_IsSameCurrentSchool
Description
Checks whether Self and BaseObject are currently attending the same school. Uses B2CareerHelper::TryFindSchoolByCharacter which resolves both students and school staff.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Target — the character to compare with Self. |
| CompareType | Equal (same school) / NotEqual (different school). |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Check if Target attends same school | Target | IsSameCurrentSchool | Equal |
| Check if Target attends different school | Target | IsSameCurrentSchool | NotEqual |
Back to Command FinderSearch and filter all 491 Script Condition documents