Jump to content
  • 0

Mapwarp back to town after killing monster. Please help.


Question

Posted (edited)

i'll put in short what I'm looking for...

1) there will be a monster in this map, as soon as the monster dies all the players on that map will be warped back to the save point.

Um, thats most info i can give. Sorry for being newbie at scripting... help much appreciated!! ^^;

This is what i got so far but its not work...

- script something -1,{
OnInit:
sleep2 3000;
monster "prontera",0,0,"Dark Valkyrie",1931,1;
end;

OnNPCKillEvent:
if(killedrid!=1931);
mapannounce "prontera","Dark Valkyrie: I have lost... how could this happen...?",0;
sleep2 3000;
  mapwarp "prontera","Lacie",156,72;
  end;
}

Edited by HristDead

3 answers to this question

Recommended Posts

Posted (edited)
- script something -1,{
OnInit:
sleep 3000;
monster "prontera",0,0,"Dark Valkyrie",1931,1,strnpcinfo(0)+"OnMobDead";
end;
OnMobDead:
mapannounce "prontera","Dark Valkyrie: I have lost... how could this happen...?",0;
sleep 3000;
mapwarp "prontera","Lacie",156,72;
end;
}

Edited by Joseph
Thanks Emistry. D:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...