Condition_Costume
Description
Checks whether the character has a specified costume equipped. If S2 is "All", checks all outfit slots; otherwise checks only the last (most recently applied) outfit slot.
Note
The costume that ChangeOutfit S1 puts on in the current city (FakeCompany CostumeOverrides of the character's company) also counts as S1.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The character to check (Self or Target). |
| CompareType | Supported compare types: Equal, NotEqual. |
| S1 | Costume ID to check for (e.g. "CostumeA"). |
| S2 | Scope of check: "All" to check all outfit slots, omit or leave empty for last slot. |
Examples
| Description | BaseObject | Command | CompareType | S1 | S2 |
|---|---|---|---|---|---|
| Checks if self has CostumeA in any slot. | Self | Costume | Equal | CostumeA | All |
| Checks if self does not have CostumeA in the last slot. | Self | Costume | NotEqual | CostumeA | |
| Checks if target has CostumeB in any slot. | Target | Costume | Equal | CostumeB | All |
| Checks if target does not have CostumeB in any slot. | Target | Costume | NotEqual | CostumeB | All |