LoadItemsFromTemplate

From Dragon Age Toolset Wiki
Revision as of 22:19, 2 March 2010 by BryanDerksen (Talk | contribs) (update missing parameters)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Update a creature's appearance and inventory from a template

void LoadItemsFromTemplate(
object oCreature,
string sTemplate,
int bReplaceInventory = FALSE
);
Parameters:
oCreature
The creature whose appearance is to be updated
sTemplate
Template to update the creature's appearance to match
bReplaceInventory
Whether to replace the creature's inventory with the items that are in the template's inventory
Returns:

Nothing.

Source:

script.ldf