Skip to main content

idTarget_Remove

An entity that will remove the listed entities when activated.

2016

entity {
	entityDef example_target_remove_2016 {
	inherit = "target/remove";
	class = "idTarget_Remove";
	expandInheritance = false;
	poolCount = 0;
	poolGranularity = 2;
	edit = {
		"idEntity::entityFlags_t" flags = {
			"bool" noFlood = true;
		}
		spawnPosition = {
			x = 50;
			y = -2000;
			z = -100;
		}
		targets = { // list of entities to remove
			num = 1;
			item[0] = "example_func_emitter_1";
		}
	}
}
}

Eternal

entity {
	entityDef example_target_remove_eternal {
	class = "idTarget_Remove";
	expandInheritance = false;
	poolCount = 0;
	poolGranularity = 2;
	networkReplicated = false;
	disableAIPooling = false;
	edit = {
		flags = {
			noFlood = true;
		}
		spawnPosition = {
			x = 0;
			y = 0;
			z = 0;
		}
		targets = { // list of entities to remove
			num = 1;
			item[0] = "example_func_dynamic";
        }
	}
}
}