so i was playing around with marriage, and decided to build a divorce NPC, so i built this
it works and all, but i got one problem, it may divorce me from my spouse, but it doesn't divorce my spouse from me O.O i mean i tried every single thing, nothing worked for some reason any ideas? thx.
my second question, if i get married it doesn't show my spouse name in "My stats" where it shows my level, name, guildname and other stuff, any ideas? thx =)
Code:
if (CurrentNPC == 104820)
{
if (Control == 1)
{
if ( MyChar.Spouse == "" || MyChar.Spouse == "None")
{
SendPacket(General.MyPackets.NPCSay("You are not even married, what do you want from me?!"));
SendPacket(General.MyPackets.NPCLink("Ahh, whoops sorry", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
else
{
MyChar.Spouse = "";
SendPacket(General.MyPackets.NPCSay("You are divorced, enjoy your single life"));
SendPacket(General.MyPackets.NPCLink("Thank you", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
}
}
it works and all, but i got one problem, it may divorce me from my spouse, but it doesn't divorce my spouse from me O.O i mean i tried every single thing, nothing worked for some reason any ideas? thx.
my second question, if i get married it doesn't show my spouse name in "My stats" where it shows my level, name, guildname and other stuff, any ideas? thx =)