NPC:ConditionID
Description
Returns the ID of a given condition by name. Opposite of NPC:ConditionName.
This is useful for custom conditions defined by engine NPCs, such as COND_ZOMBIE_RELEASECRAB for zombies, and COND_COMBINE_ON_FIRE for Combine Soldiers.
Garry's Mod
Rust
Steamworks
Wiki Help