Skip to main content

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

ParameterDescription
BaseObjectCharacter whose group type will be checked
CompareTypeSupported compare types: Equal, None, NotEqual
S1CharacterGroupType to compare (e.g., "ResidenceFamily")

Examples

DescriptionBaseObjectCommandCompareType
If Self is a residence family memberSelfCharacterGroupTypeEqual
If Target is not a crowd NPCTargetCharacterGroupTypeNotEqual
If Target is a shop NPCTargetCharacterGroupTypeEqual
If Self is a service NPCSelfCharacterGroupTypeEqual