Difference between revisions of "LoadItemsFromTemplate"
From Dragon Age Toolset Wiki
(Generated by Sunjammer's Dragon Age Script Paser) |
BryanDerksen (Talk | contribs) (update missing parameters) |
||
(3 intermediate revisions by 2 users 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= | ||
|param2type=string | |param2type=string | ||
|param2name=sTemplate | |param2name=sTemplate | ||
− | |param2desc= | + | |param2desc=Template to update the creature's appearance to match |
+ | |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 | ||
|returntype=void | |returntype=void | ||
|returndesc= | |returndesc= |
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