Skip to main content

Condition_IsSiteScheduleNPC

Description

Checks if the BaseObject is a Site Schedule NPC — an NPC assigned to a site via schedule (e.g., shop employees or public facility NPCs) who does not have their own home site. Returns true when GetHomeSiteEntityId returns an invalid entity (no home site assigned).

Parameters

ParameterDescription
BaseObjectCharacter to check for site schedule NPC status
CompareTypeSupported compare types: Equal, None, NotEqual

Examples

DescriptionBaseObjectCommandCompareType
If Self is a site schedule NPCSelfIsSiteScheduleNPCEqual
If Target is a site schedule NPCTargetIsSiteScheduleNPCEqual
If Self is not a site schedule NPCSelfIsSiteScheduleNPCNotEqual
If Target is not a site schedule NPCTargetIsSiteScheduleNPCNotEqual