Before you do anything READ THIS TUTORIAL [Only registered and activated users can see links. ]
Ok I made an event for my server but the client is messing up with this so I decided to post it..
I haven't made a minigame or anything like this for a bit but I decided to try again.. It's nothing special but it's a cool reward
I'm not sure if this is all correct, but if it isn't just post and I will fix..
Add this somewhere on it (make sure you have the variables)
Code:
if ((playerEquipment[playerRing] == 7927) && npcId != 1320) {
npcId = 1320;
isNpc = true;
sendMessage("You wear a Easter Ring...");
sendMessage("... and magically turned into a Bunny!");
} else if ((playerEquipment[playerRing] != 7927) && npcId == 1320) {
npcId= 0;
isNpc = false;
sendMessage("You Take off the Ring...");
sendMessage("...and turn back into a Human");
}
Search For:
Code:
UpdateNPCChat() {
Now add this Cases: (Don't Forget to change the Number of the Cases)
Code:
case ####: // Easter Bunny Talking - Easter Event 2008
sendFrame126("Easter Bunny", 1841);
sendFrame126("Help me! help me!", 1840);
sendFrame126("I must find my Eggs! My Eggs!!", 1839);
sendFrame126("", 1838);
sendFrame126("", 1837);
sendFrame75(NpcTalkTo, 1836);
sendFrame164(1835);
NpcDialogueSend = true;
break;
case ####: // Easter Bunny Talking - Continuation
sendFrame126("Easter Bunny", 1841);
sendFrame126("", 1840);
sendFrame126("My Eggs are gonne! I don't know what to do!", 1839);
sendFrame126("Please Warrior! Find my eggs!", 1838);
sendFrame126("If I don't Deliver them by this afternoon", 1837);
sendFrame75(NpcTalkTo, 1836);
sendFrame164(1835);
NpcDialogueSend = true;
break;
case ####: // Easter Bunny Talking - Continuation
sendFrame126("Easter Bunny", 1841);
sendFrame126("", 1840);
sendFrame126("People will be angry!", 1839);
sendFrame126("Please get me 5 Easter Eggs!", 1838);
sendFrame126("Just Kill the Bunnys after I teleport you...", 1837);
sendFrame75(NpcTalkTo, 1836);
sendFrame164(1835);
NpcDialogueSend = true;
break;
case ####: // Easter Bunny Talking - Continuation
sendFrame126("Easter Bunny", 1841);
sendFrame126("", 1840);
sendFrame126("So Can you please Help me?", 1839);
sendFrame126("", 1838);
sendFrame126("", 1837);
sendFrame75(NpcTalkTo, 1836);
sendFrame164(1835);
NpcDialogueSend = true;
break;
case ####: // Player Choice Yes or No
wildtele = 0;
sendFrame171(1, 2465);
sendFrame171(0, 2468);
sendFrame126("Select an Option", 2460);
sendFrame126("Yes Sure, I'm Ready to get your eggs!", 2461);
sendFrame126("Nah, Sounds to Dangerous..", 2462);
sendFrame164(2459);
NpcDialogueSend = true;
break;
case ####: // Easter Bunny - After Get the Eggs
sendFrame126("Easter Bunny", 1841);
sendFrame126("", 1840);
sendFrame126("Oh I see you have the Eggs!", 1839);
sendFrame126("", 1838);
sendFrame126("", 1837);
sendFrame75(NpcTalkTo, 1836);
sendFrame164(1835);
NpcDialogueSend = true;
break;
case ####: // Easter Bunny - Reward
sendFrame126("Easter Bunny", 1841);
sendFrame126("", 1840);
sendFrame126("Thanks for Helping me!", 1839);
sendFrame126("Here is your Reward!", 1838);
sendFrame126("", 1837);
sendFrame75(NpcTalkTo, 1836);
sendFrame164(1835);
NpcDialogueSend = true;
addItem(1037, 1);
addItem(7927, 1);
break;
}
}