Hi everyone, I'm in a middle of creating an npc and has hit a wall. Please help me out with how to do the following:
1. When a player has found the NPC, it will announce to the map that it has been found and other players have 5 minutes to come to it. 2. After 5 minutes, players who have talked to the NPC will then be warped to a certain map. 3. When the NPC has warped the players, it will not entertain anyone except for the players it has warped.
I'm not sure if this is would be a long script, however please try to help me out as much especially #2.
Edit:
This is the script I have come up with. However this only covers the number 1 of my request. If someone can attach a snippet to let the npc warp the players who only talk to it beforehand, it would practically finish up the script I've finished.
- script Dark Rift -1,{
if($cdstarted == 1){ goto OnUse; }
mes "[Dark Rift]";
mes "It seems I have been found."
mapannounce "Dark Rift: I have been found. Please come to me to register.",0;
sleep 5000;
mapannounce "Dark Rift: You have 5 minutes to register for the Boss Raid.",0;
initnpctimer;
npctalk "Gather other adventurers. The boss awaits.";
set $cdstarted,1;hh
close;
OnTimer300000:
mapannounce "Dark Rift: 5 minutes have passed. Registration for the Boss Raid is now disabled.",0;
sleep 5000;
mapannounce "Dark Rift: I will now warp the players who have registered.",0;
stopnpctimer;
end;
OnUse:
mes "[Dark Rift]";
mes "The Boss Room has a party inside.";
mes "Come again after they are finished.";
close;
end;
}
Side Request: (If this is possible) Thank you
1. NPC that can cast the following skills on a certain part of a map, for let's say center of prontera? (is this possible?)
- Storm Gust
- Lord of Vermillion
- Quagmire
2. NPC that will check the stats of players, if player has vit < 70, player will have coma status (activates only once, if player heals up then player will not be put into status again)
Edit:
I just saw this "areamobuseskill" would this be usable with the number one? Instead of an NPC, it will be a monster who will be casting the skills.
Question
PandaLovesHamster
Hi everyone, I'm in a middle of creating an npc and has hit a wall. Please help me out with how to do the following:
1. When a player has found the NPC, it will announce to the map that it has been found and other players have 5 minutes to come to it.
2. After 5 minutes, players who have talked to the NPC will then be warped to a certain map.
3. When the NPC has warped the players, it will not entertain anyone except for the players it has warped.
I'm not sure if this is would be a long script, however please try to help me out as much especially #2.
Edit:
This is the script I have come up with. However this only covers the number 1 of my request. If someone can attach a snippet to let the npc warp the players who only talk to it beforehand, it would practically finish up the script I've finished.
Side Request: (If this is possible) Thank you
1. NPC that can cast the following skills on a certain part of a map, for let's say center of prontera? (is this possible?)
- Storm Gust
- Lord of Vermillion
- Quagmire
2. NPC that will check the stats of players, if player has vit < 70, player will have coma status (activates only once, if player heals up then player will not be put into status again)
Edit:
Edited by PandaRapesHamsterI just saw this "areamobuseskill" would this be usable with the number one? Instead of an NPC, it will be a monster who will be casting the skills.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.