Author Topic: GetDomain?  (Read 315 times)

Legacy_Seter

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
GetDomain?
« on: September 04, 2012, 07:17:34 pm »


               Hello there,

Is there some way to get in an automated way the domains of a Player Character via a script?


Thanks in advance for any help!
               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
GetDomain?
« Reply #1 on: September 05, 2012, 04:09:55 am »


               yes, each domain grants feat to player, you just need to check the existence of those feats
               
               

               
            

Legacy_Failed.Bard

  • Hero Member
  • *****
  • Posts: 1409
  • Karma: +0/-0
GetDomain?
« Reply #2 on: September 05, 2012, 01:31:19 pm »


               It can also be checked directly via NWNX, but as ShadoOow said it's doable by feats.  You just need to make sure you have a way to retrieve both of them.
               
               

               
            

Legacy_Seter

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
GetDomain?
« Reply #3 on: September 05, 2012, 07:14:38 pm »


               I am basically trying to script something that checks for the domains.
Sadly it seems that Custom domains dont appear on the feat list. Only on the sheet itself.

Is there a way around it?
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
GetDomain?
« Reply #4 on: September 05, 2012, 07:56:02 pm »


               Did you add a Feet for it to add in the GrantedFeat collonm of domains.2da and create the feat in feats.2da for your coustom domain?
               
               

               


                     Modifié par Lightfoot8, 05 septembre 2012 - 07:00 .