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
| Parameter | Description |
|---|---|
| BaseObject | Character to check for site schedule NPC status |
| CompareType | Supported compare types: Equal, None, NotEqual |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| If Self is a site schedule NPC | Self | IsSiteScheduleNPC | Equal |
| If Target is a site schedule NPC | Target | IsSiteScheduleNPC | Equal |
| If Self is not a site schedule NPC | Self | IsSiteScheduleNPC | NotEqual |
| If Target is not a site schedule NPC | Target | IsSiteScheduleNPC | NotEqual |
Back to Command FinderSearch and filter all 491 Script Condition documents