Description
Checks whether a crowd character belongs to the crowd group specified by S1.
The character must be of the Crowd group type; if not, the condition returns false.
The crowd group ID is retrieved from the character's TraitComponent.
Parameters
| Parameter | Description |
|---|
| BaseObject | The crowd character to check (Self or Target). |
| CompareType | Supported compare types: Equal, NotEqual. |
| S1 | The crowd group ID to match against. |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|
| Check if Self belongs to CrowdGroup_01 | Self | CrowdGroup | Equal | CrowdGroup_01 |
| Check if Self does not belong to CrowdGroup_01 | Self | CrowdGroup | NotEqual | CrowdGroup_01 |
| Check if Target belongs to CrowdGroup_02 | Target | CrowdGroup | Equal | CrowdGroup_02 |