Ability CheckUseConditions

From Dragon Age Toolset Wiki
Jump to: navigation, search

Determine whether or not all conditions for the current talent are met

int Ability_CheckUseConditions(
object oCaster,
object oTarget,
int nAbility,
object oItem = OBJECT_INVALID
);
Parameters:
oCaster
[Undocumented]
oTarget
[Undocumented]
nAbility
[Undocumented]
oItem
[Undocumented]
Returns:

[Undocumented]

Source:

Core Resources.ability_h

Description

This is temporary, it will go into the engine at some point

Check the use conditions for the ability, e.g. melee only

Later this should be done mostly in the UI (e.g. don't even allow to use it)

  • 0 None
  • 1 Melee
  • 2 Shield
  • 4 Ranged
  • 8 Behind Target
  • 16 Mode active