Function
Anvil
Anvil_SetupWreckRecovery
Kill pre-placed vehicle entities and collect their wreck entities into the same egroups.
On this page
Anvil_SetupWreckRecovery(wreckGroups, overGroup)Description
The first argument is a table of egroups like {eg_vehicle1, eg_vehicle2}. The second argument lets you collect all the wrecks into a parent egroup.
Parameters
wreckGroupsTablerequiredoverGroupEGroupoptional
Returns
NilSource
Declared in the game's script sources at:
scar/gamescarutil.scar