logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
nwnx_funcs 0.9.3 Some Functions are Faulty

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows technical support
View previous topic :: View next topic  
Author Message
Guile



Joined: 19 May 2012
Posts: 6

PostPosted: Fri May 25, 2012 3:01    Post subject: nwnx_funcs 0.9.3 Some Functions are Faulty Reply with quote

I'm running into an issue with this script....

#include "nwnx_funcs"

void main()
{
object oPC = GetLastUsedBy();
int nStat = NWNXFuncs_GetSavingThrowBonus(oPC, SAVING_THROW_FORT);
string sMsg;
sMsg = "Your Current Fortitude Saving Throw = ";
sMsg += IntToString(nStat);
FloatingTextStringOnCreature(sMsg, oPC);

}

It's always returns -1 no matter what...

Anyone?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows technical support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group