Clonk Developer Mode Documentation
Introduction
Contents
Search
Engine
Command Line
Game Data
Script
C4D_Rule
Category:
Objects / Category
Since engine version:
4.6.5.0 CP
Description
Object category: rule object
Syntax
int
C4D_Rule ();
Remark
This value is also defined as a constant. Thus the parameter brackets can be omitted.
Example
for
(
var
obj in
FindObjects
(
Find_Category
(C4D_Rule)))
RemoveObject
(obj);
Removes all rules. :-)
See also:
GetCategory
,
SetCategory
jwk, April 2002
Clonk Developer Mode Documentation
Introduction
Contents
Search
Engine
Command Line
Game Data
Script