Jump to content
  • 0

Poring catcher


Rain408

Question


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  77
  • Reputation:   0
  • Joined:  05/23/15
  • Last Seen:  

I couldn't figure this out. I was trying to replace @doommap with areawarp

OnMobKilled:
dispbottom "Poring : Congratulations. You've got me.";
set PORING,1;
atcommand "@doommap";
killmonster "poring_w01","All";
mapannounce "poring_w01","Poring Catcher : Come to me and tell me your name.",0;
hideoffnpc "Poring Catcher#evnt2";
end;

 

I was trying to make it so that players would just get warp out if someone kills the right poring. When i change the script to this
OnMobKilled:
dispbottom "Poring : Congratulations. You've got me.";
set PORING,1;
areawarp "poring_w01,81,203,59,"quiz_02",302,252;
killmonster "poring_w01","All";
mapannounce "poring_w01","Poring Catcher : Come to me and tell me your name.",0;
hideoffnpc "Poring Catcher#evnt2";
end;
When i killed the correct poring nothing happens and scripts stops there, i.e nothing happens
 
Any idea how to do this?
Edited by Emistry
codebox
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

I don't think it's possible to put 2 different coordinates. and try using warp instead of areawarp https://rathena.org/wiki/Warp

warp "poring_w01", 81, 203;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  77
  • Reputation:   0
  • Joined:  05/23/15
  • Last Seen:  

 

I don't think it's possible to put 2 different coordinates. and try using warp instead of areawarp https://rathena.org/wiki/Warp

warp "poring_w01", 81, 203;

 

i tried that as well. What Happens is that it warps the winner out of the room to the location you input.

And everyone else is stuck in the room.

 

So in a sense it does the opposite of what i want

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  626
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

You sure that you put the right coordinates at areawarp?

Another command would be mapwarp

Regards, Chris

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  77
  • Reputation:   0
  • Joined:  05/23/15
  • Last Seen:  

I figure an easier way to do it, have the winner warp out w/ prize upon correct poring kill than have a npc that appear after event is over that just warp out loser

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  265
  • Reputation:   95
  • Joined:  09/30/14
  • Last Seen:  

You missed end quotes

"poring_w01,81,203,59,"quiz_02",302,252;

After poring_01 you need a "

Oh and you need 4 coords. Walk to the top most of the map and grab that, then do the bottom right as well. Should be like 0,400,400,0

"poring_w01",0,400,400,0,"quiz_02",302,252;

Link to comment
Share on other sites

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.

×
×
  • Create New...