6.6. macro_remove_if

This entity is used inside a template or a template map. When an instance of a template is created, anything inside the bounding box of this entity is excluded from that instance if the removal condition is true.

Properties

  • Removal condition (condition) -- The condition that determines whether the contents of this entity must be excluded. If the condition is false (empty or zero) then the contents will not be removed.

Notes

  • The removal condition should usually contain an MScript expression. For example, {damage < 10} means that the contents are removed if the damage property of the instance-creating entity is less than 10.