Function; addSalvage - HWRM/KarosGraveyard GitHub Wiki

addSalvage(<sChunkType>, <tPosition>, <fRU>, ?, ?, ?, ?)

Description

Adds a piece of salvageable debris to a ".level" file. A salvage chunk always has 700ru if fRU is 100.

Example

addSalvage("Slv_Chunk_Lrg03", {0.0, 0.0, 0.0,}, 100, 0, 0, 0, 0)

The following are the models used by each type: https://i.imgur.com/crxvw5a.png

Arguments

<sChunkType>: the type of debris. Ranges from Slv_Chunk_Lrg01 to Slv_Chunk_Lrg05. You can also put in Slv_Chunk_Sml01 through to 08.
<tPosition>: a table containing the X, Z, and Y coordinates.
<fRU>: a multiplier applied to the default RU amount contained in each debris type.
?: dunno.
?: dunno.
?: dunno.
?: dunno.

Scope

Related Pages

Function Reference

Malignus's Mapping Tutorial

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial

⚠️ **GitHub.com Fallback** ⚠️