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 
 
Talking back

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Development
View previous topic :: View next topic  
Author Message
lostdreamz



Joined: 19 Nov 2006
Posts: 26

PostPosted: Tue Jul 31, 2007 19:52    Post subject: Talking back Reply with quote

Hi its me again
I have written several pugins and have them working fine but I have no idea how to talk back to NWN 2. I am deleting characters and sometimes it fails which is logged but the players have no idea if it worked or not. Is there a way to return a status from a plugin.
Thanks for all your hard work
Lostdreamz (owner World of Desire)
Back to top
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Wed Aug 01, 2007 21:52    Post subject: Reply with quote

Sure, most plugins return some kind of value. In NWNX 1.08, you just have to return a value in one of the NWNX* functions, e.g. return(1) in NWNXGetInt.
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Development 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