Skip to main content

Condition_IsStaticNpc

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

ParameterDescription
BaseObjectThe character to check (Self or Target).
CompareTypeSupported compare types: Equal, NotEqual.
S1Optional static spawner ID to match. If empty, only group type is checked.

Examples

DescriptionBaseObjectCommandCompareTypeS1
Check if Self is a Static NPCSelfIsStaticNpcEqual
Check if Self is not a Static NPCSelfIsStaticNpcNotEqual
Check if Target is a specific Static NPC by spawnerTargetIsStaticNpcEqualMySpawnerId