7DTD-ScriptingMod icon indicating copy to clipboard operation
7DTD-ScriptingMod copied to clipboard

Add a script to mass-remove entities by type

Open djkrose opened this issue 8 years ago • 0 comments

Requested by xorex (7dtd forum) via PM:

In other mods there is a command like removeentity, but it can remove only one entity by ID at once

Can you add to your mod new command like removeentity for multiple entity delete by type, like this

Code:

rmentity rockSmall

even better, to delete several at one time

Code:

rmentity rockSmall,crushedSand,scrapIron

Further clarification explaint that this is indeed only about entities not about world blocks. So rmentity rockSmall would remove the dropped item, not a rock lying around.

The coammnd can't and probably shouldn't target individual item names, but rather categories, like falling blocks, items, etc...

djkrose avatar Sep 14 '17 14:09 djkrose