Difference between revisions of "Combat GetAttackType"
From Dragon Age Toolset Wiki
Mouser9169 (Talk | contribs) (Created page with "Called by: <dascript> // ----------------------------------------------------------------------------- // Return the type of the current attack based on the weapon in the main ha...") |
m (Fixing category) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | Called by: | + | Called by: |
+ | |||
+ | Calls: | ||
+ | |||
+ | Parameters: | ||
+ | |||
+ | Variables: | ||
+ | |||
+ | Returns: | ||
+ | |||
+ | Used for: | ||
<dascript> | <dascript> | ||
// ----------------------------------------------------------------------------- | // ----------------------------------------------------------------------------- | ||
Line 18: | Line 28: | ||
} | } | ||
</dascript> | </dascript> | ||
− | + | [[Category:Functions from combat_h]] |
Latest revision as of 15:26, 7 August 2011
Called by:
Calls:
Parameters:
Variables:
Returns:
Used for:
// ----------------------------------------------------------------------------- // Return the type of the current attack based on the weapon in the main hand // used only in command_pending... // ----------------------------------------------------------------------------- int Combat_GetAttackType(object oAttacker, object oWeapon); int Combat_GetAttackType(object oAttacker, object oWeapon) { if (IsUsingRangedWeapon(oAttacker, oWeapon)) { return ATTACK_TYPE_RANGED; } else { return ATTACK_TYPE_MELEE; } }