Category: Objects
/ Components
Since engine version: 5.1 OC
nil
in local calls. If definition is specified, this parameter is ignored.nil
, the specified object is checked instead.var i,cid,num; while (id = GetComponent(nil, i++, nil, GetID())) if ((num = GetComponent(id) - GetComponent(id, 0, nil, GetID())) > 0) while (num--) CreateObject(id);