GetCreatureProperty( aMainCharacter, PROPERTY_ATTRIBUTE_STRENGTH ); SetCreatureProperty( aMainCharacter, PROPERTY_ATTRIBUTE_STRENGTH );I thought this would be the BASE Strength but it seems to return and set STR when modifiers effect it. How do I get the straight value and not the value after modifier effects.
Problems with BASE Strength
Débuté par
Simon.Omega
, nov. 14 2009 08:17
#1
Posté 14 novembre 2009 - 08:17
I am using the below code in a module for friends so they can freely ware Blood Dragon.
#2
Posté 14 novembre 2009 - 08:17
Probably a question for weriKK
#3
Posté 14 novembre 2009 - 09:07
float bdaMainCharSTR = GetCreatureAttribute( bdaMainCharacter, ATTRIBUTE_STR, PROPERTY_VALUE_BASE );
Awsome.
Awsome.
#4
Posté 14 novembre 2009 - 09:11
SetCreatureProperty( aMainCharacter, PROPERTY_ATTRIBUTE_STRENGTH, 38.0, PROPERTY_VALUE_BASE );
And there is a set on base.
And there is a set on base.
#5
Posté 14 novembre 2009 - 09:51
I see you had a very fruitful conversation with yourself here
Modifié par weriKK, 14 novembre 2009 - 09:51 .
#6
Posté 16 novembre 2009 - 05:52
weriKK wrote...
I see you had a very fruitful conversation with yourself here
LOL yes I did. I was hoping it might help others some where along the lines if I blerted it out. :innocent:
I found the projects section of our profiles and up loaded a few things to test it out. One being the very mod spoken of here.
It now works with out breaking the character on a force load (with my module off) because if it is on and your respec module is performed on the main character... It blows up LOL.





Retour en haut






