Difference between revisions of "EquipDefaultItem"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (Fixing category)
m (Marking for deletion)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
{{MarkedForDeletion|because this function is not located in an include file.}}
 
{{dafunction
 
{{dafunction
|name=EquipDefaultItem
+
|name         = EquipDefaultItem
|brief=Equip default creature item based on appearance (only if none equipped).
+
|brief         = Equip default creature item based on appearance (only if none equipped).
|param1type = int
+
|param1type   = int
|param1name = nAppType
+
|param1name   = nAppType
|param1desc = The Appearance Type, see [[GetAppearanceType]].
+
|param1desc   = The Appearance Type, see [[GetAppearanceType]].
 
|param1default =
 
|param1default =
|param2type = int
+
|param2type   = int
|param2name = nTargetSlot
+
|param2name   = nTargetSlot
|param2desc = see [[INVENTORY_SLOT*]]
+
|param2desc   = an [[INVENTORY_SLOT_*]] constant
 
|param2default =
 
|param2default =
|param3type = string
+
|param3type   = string
|param3name = s2daColumnName
+
|param3name   = s2daColumnName
|param3desc = It determines which equipment is to be equipped with the creature (e.g. "DefaultWeapon").
+
|param3desc   = It determines which equipment is to be equipped with the creature (e.g. "DefaultWeapon").
 
|param3default =
 
|param3default =
 
+
|returntype   = void
|returntype = void
+
|returndesc   =  
|returndesc =  
+
|sourcefile   = creature_core
|sourcefile = creature_core
+
|sourcemodule = Core Game Resources
|sourcemodule = Core Resources
+
 
}}
 
}}
  

Latest revision as of 12:44, 24 August 2011

This page has been marked for deletion because this function is not located in an include file.

Equip default creature item based on appearance (only if none equipped).

void EquipDefaultItem(
int nAppType,
int nTargetSlot,
string s2daColumnName
);
Parameters:
nAppType
The Appearance Type, see GetAppearanceType.
nTargetSlot
an INVENTORY_SLOT_* constant
s2daColumnName
It determines which equipment is to be equipped with the creature (e.g. "DefaultWeapon").
Returns:

Nothing.

Source:

Core Game Resources.creature_core