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 
 
Delevel event

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



Joined: 28 Aug 2010
Posts: 53

PostPosted: Thu Feb 12, 2015 15:14    Post subject: Delevel event Reply with quote

I know that there's method to catch levelup event but is there any method to catch when character loses level? I need that for clearing some variables I'm setting after level up to prevent extra bonuses after losing feats etc.
Back to top
View user's profile Send private message
ShaDoOoW



Joined: 20 Aug 2005
Posts: 584

PostPosted: Fri Feb 13, 2015 10:21    Post subject: Re: Delevel event Reply with quote

Valgav wrote:
I know that there's method to catch levelup event but is there any method to catch when character loses level? I need that for clearing some variables I'm setting after level up to prevent extra bonuses after losing feats etc.

You need to use SetXP for all XP modifications, and replace all SetXP calls by your custom function like MySetXP. In this function you can check level before and level after which allow you to execute a new script if level pre xp change was higher than level after xp change and vice versa.
_________________
Community Patch / NWNX Patch / NWNX Files / NWNX Connect
Back to top
View user's profile Send private message
Valgav



Joined: 28 Aug 2010
Posts: 53

PostPosted: Fri Feb 13, 2015 14:05    Post subject: Reply with quote

What about DM actions? I'm forced to use some custom ways to give or take xp from player?
Back to top
View user's profile Send private message
ShaDoOoW



Joined: 20 Aug 2005
Posts: 584

PostPosted: Fri Feb 13, 2015 14:17    Post subject: Reply with quote

Valgav wrote:
What about DM actions? I'm forced to use some custom ways to give or take xp from player?

either custom ways or use nwnx_dmactions (which im not sure if exists for windows) anyway using custom DM wand isnt so big deal and I definitely recommend it
_________________
Community Patch / NWNX Patch / NWNX Files / NWNX Connect
Back to top
View user's profile Send private message
Valgav



Joined: 28 Aug 2010
Posts: 53

PostPosted: Fri Feb 13, 2015 14:54    Post subject: Reply with quote

nwnx_dmactions exists for windows at least it used to, but since axs and his uploads disappeared I couldn't find any copy of that plugin. So I'm forced to use same crappy items Sad
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