Category: Objects
/ Search
Since engine version: 5.1 OC
for(var vehicle in FindObjects (Find_Owner(1), Find_Category(C4D_Vehicle))) RemoveObject (vehicle);
protected func Hit()
{
for(var structure in FindObjects(Find_AtPoint(), Find_Category(C4D_Structure), Find_OCF(OCF_Inflammable)))
Incinerate(structure);
RemoveObject();
}
for(var obj in FindObjects( Find_Not(Find_Owner(NO_OWNER)) )) obj->SetOwner(NO_OWNER);