I would like to know how to get a creature's total speed in an efficient manner. I am not talking about movement rate. I understand how to get the base movement rate. I really mean speed, as in how many meter's per second after factoring in all speed increases and decreases.
Is there a simple way to do this? I am looking at using NWNX structs. But was hoping that I wouldn't be iterating over each speed increase and decrease effect with repeated NWNX calls in a NWScript loop. Is that the way to do this? Seems like there has to be a better way. And thats why I am asking.
Does anyone else do this? How do you do it?
Also... how do you figure out if a creature is running or walking?
-- or do i need to learn C++ to handle this? A bit above my skillset at the moment.
-- and also:
It seems that many users of NWNX out there have had to go through the trouble of documenting for themselves the specifics of what data is in each struct beyond the generalities of the GFF documentation that bioware has put out. For example, the integer lists in each effect. What shows up at each index for the effects? Figuring this crap out by trial and error is not fun. If you've gone through the pain, would you mind sharing the documentation?