LoadItemsFromTemplate

From Dragon Age Toolset Wiki
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