Aller au contenu

Photo

using script to check for ability in conversation? (solved)


1 réponse à ce sujet

#1
gordonbrown82

gordonbrown82
  • Members
  • 544 messages
Not sure how a script like that would look like and how to set the conversation editor for it to work.

Modifié par gordonbrown82, 22 avril 2010 - 03:07 .


#2
DavidSims

DavidSims
  • BioWare Employees
  • 196 messages
If you want to look for a specific ability that isn't convered by the skills plot, you'll need to make your own defined flag, added to any relevant plot you have. There are tutorials and such on how to make and script defined flags.



Within the defined flag, you can use HasAbility() to determine if whichever creature, I presume you want to check the hero so you use GetHero(), has the ability. There are constants for all of the various spells in the game, starting with "ABILITY_".