Condition_CharacterGroupType
Description
Checks if the BaseObject's CharacterGroupType matches the type specified in S1.
Supported group types include ResidenceFamily, CompanyRoleNpc, SiteRoleNpc, Crowd, EventCrowd,
ServiceNpc, StaticNpc, and ShopNpc.
Parameters
| Parameter | Description |
|---|
| BaseObject | Character whose group type will be checked |
| CompareType | Supported compare types: Equal, None, NotEqual |
| S1 | CharacterGroupType to compare (e.g., "ResidenceFamily") |
Examples
| Description | BaseObject | Command | CompareType |
|---|
| If Self is a residence family member | Self | CharacterGroupType | Equal |
| If Target is not a crowd NPC | Target | CharacterGroupType | NotEqual |
| If Target is a shop NPC | Target | CharacterGroupType | Equal |
| If Self is a service NPC | Self | CharacterGroupType | Equal |