Description
Checks whether the specified character is a Static NPC. When S1 is provided,
additionally verifies that the character's StaticSpawnerId matches S1. When S1
is empty, only the CharacterGroupType is checked against StaticNpc.
Parameters
| Parameter | Description |
|---|
| BaseObject | The character to check (Self or Target). |
| CompareType | Supported compare types: Equal, NotEqual. |
| S1 | Optional static spawner ID to match. If empty, only group type is checked. |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|
| Check if Self is a Static NPC | Self | IsStaticNpc | Equal | |
| Check if Self is not a Static NPC | Self | IsStaticNpc | NotEqual | |
| Check if Target is a specific Static NPC by spawner | Target | IsStaticNpc | Equal | MySpawnerId |