Author Topic: Getting specific effect values  (Read 282 times)

Legacy_Rubies

  • Hero Member
  • *****
  • Posts: 508
  • Karma: +0/-0
Getting specific effect values
« on: May 04, 2011, 02:51:29 am »


               Possibly just a lack of sleep making this difficult for me but I can't seem to figure out how to get the specific values of effects.

Specifically, I'm trying to retrieve the exact value of an EFFECT_TYPE_DAMAGE_INCREASE or EFFECT_TYPE_DAMAGE_DECREASE from a GetEffectType loop for the purposes of calculating total damage (something the silly part of me had never even thought about!).
               
               

               
            

Legacy_Werehound

  • Newbie
  • *
  • Posts: 22
  • Karma: +0/-0
Getting specific effect values
« Reply #1 on: May 04, 2011, 06:16:59 pm »


               NWNX2 and specifically nwnx_funcs (there is a windows version out there now) has functions for GetEffectInteger, which can return any of the 8 integers effects use, usually only the first two are used, however.