Function
Anvil
Anvil_KillNeutralEntitiesNearPosition
Destroy entities, by type or blueprint, inside a marker or sector, or near a position
On this page
Anvil_KillNeutralEntitiesNearPosition(pos, OPT_entity_type, OPT_range Int OPT_num_to_kill)Description
By default this function will kill any entity with the \"wreck\" unit_type. Use OPT_num_to_kill to specify how many entities will be destroyed by the function. By default, all matching entities will be destroyed.
Parameters
posMarkerID/Pos/SectorIDrequiredOPT_entity_typeUnit_type/EbprequiredOPT_range Int OPT_num_to_killRealrequired
Returns
UnknownSource
Declared in the game's script sources at:
scar/gamescarutil.scar