engineSetCullZoneEnabled
Client-side
Enables or disables a custom zone or a vanilla zone claimed by the caller.
Syntax
bool engineSetCullZoneEnabled(int id, bool enabled)Arguments
idintStable zone ID.
enabledboolDesired state.
Returns
true when ownership and state checks pass; false otherwise.
Ownership and lifecycle
When the owner stops, Neon deletes its custom zones and restores any vanilla zones it claimed.
Where this comes from
SOURCECLuaEngineDefs.cppClient/mods/deathmatch/logic/luadefs/CLuaEngineDefs.cpp INTRODUCED / EXTENDED89558e874Read the commit and why the change was made RELATED CATEGORY HARNESS cull-zone-test Category-level coverage · test-resources/cull-zone-test
RELATED NEON APIS
Read the system guide →