Difference between revisions of "LoadItemsFromTemplate"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (1 revision: re-import with default parameter value parameters set) |
BryanDerksen (Talk | contribs) (update missing parameters) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{dafunction | {{dafunction | ||
|name=LoadItemsFromTemplate | |name=LoadItemsFromTemplate | ||
Line 5: | Line 4: | ||
|param1type=object | |param1type=object | ||
|param1name=oCreature | |param1name=oCreature | ||
− | |param1desc= | + | |param1desc=The creature whose appearance is to be updated |
|param1default= | |param1default= | ||
|param2type=string | |param2type=string | ||
|param2name=sTemplate | |param2name=sTemplate | ||
− | |param2desc= | + | |param2desc=Template to update the creature's appearance to match |
|param2default= | |param2default= | ||
|param3type=int | |param3type=int | ||
|param3name=bReplaceInventory | |param3name=bReplaceInventory | ||
− | |param3desc= | + | |param3desc=Whether to replace the creature's inventory with the items that are in the template's inventory |
|param3default=FALSE | |param3default=FALSE | ||
|returntype=void | |returntype=void |
Latest revision as of 22:19, 2 March 2010
Update a creature's appearance and inventory from a template
- 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