Condition_HasCareer
Description
Checks whether the character has a career of the specified type, optionally filtered by a specific career table ID or by matching the target's career. When the career type is Business, an Idol career is checked instead (idol trainees, idols and agency staff count as employed).
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The character whose career will be checked. |
| CompareType | Equal (has career) or NotEqual (does not have career). |
| S1 | EB1CareerType to check (e.g., Business, School). |
| S2 | Optional career table row ID to match, or "Target" to compare with the other. |
Examples
| Description | BaseObject | Command | CompareType | S1 | S2 |
|---|---|---|---|---|---|
| Check if Self has any Business career | Self | HasCareer | Equal | Business | |
| Check if Self does not have any School career | Self | HasCareer | NotEqual | School | |
| Check if Self has a specific Business career by table ID | Self | HasCareer | Equal | Business | SomeCareerTableRowId |
| Check if Self has the same career as the Target | Self | HasCareer | Equal | Business | Target |
Back to Command FinderSearch and filter all 491 Script Condition documents