Jump to content
Sign in to follow this  
evilpuncker

Reset variable on divorce

Recommended Posts

I was testing marriage.txt NPC and noticed that if I do @divorce the permanent character variable "wedding_sign" is not reset back to 0 at least in atcommand, maybe that is true in script command as well, what about making this variable reset so users have to apply for a marriage again, providing the items to NPC again

Share this post


Link to post
Share on other sites

That's an easy to do.

pc_setglobalreg(sd, "wedding_sign", 0);

 

*fixed :D

Edited by Oxxy

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.