NPC:SetIgnoreConditions
Description
Sets conditions to ignore, which would normally interrupt an Engine-based schedule. Specified conditions will still be set, will call ENTITY:OnCondition and can be returned by NPC:HasCondition, but they will no longer interrupt the Engine schedule.
Arguments
1 table conditions
Conditions to ignore, see COND enum. The table must be sequential, numerical and values must correspond to condition enums.
2 number size
Number of conditions to include in the ignored conditions table. Set this to the size of ignored conditions table to ignore all specified conditions.
Example
Ignore all conditions for this SNPC, allows it to naturally process the engine schedule.
Example
Ignore specific conditions from interrupting this SNPC while attacking.