Aller au contenu

Photo

Where are ABILITY_SPELL_ and ABILITY_SKILL_ constants defined?


1 réponse à ce sujet

#1
PavelNovotny

PavelNovotny
  • Members
  • 344 messages
Still trying to figure out how hidden abilities work , and noticed that the single player campaign uses the HasAbility command in this form

HasAbility(oTestCreator, ABILITY_SPELL_HIDDEN_BARD)

I have been looking through 2das for ABILITY_SPELL_ and can't find them anywhere although they are listed as constants. Anybody know where those are defined?

#2
DavidSims

DavidSims
  • BioWare Employees
  • 196 messages
If you want to know where any function or constant is defined, right click on it and select go to definition. This doesn't work for engine functions and constants, but you won't be able to change them anyway. In this case, the ability constants are defined in 2da_constants_h".

Modifié par DavidSims, 29 mars 2010 - 08:19 .