Jump to content
  • 0

warp to "map y x" if kill "mob id ****"


domez86

Question


  • Group:  Members
  • Topic Count:  85
  • Topics Per Day:  0.02
  • Content Count:  207
  • Reputation:   0
  • Joined:  06/11/13
  • Last Seen:  

hi, I need a script that if char kill a specific mob id (also only effect in specific map if can), it teleports you into another map x y.

tnx!

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  116
  • Reputation:   18
  • Joined:  09/08/17
  • Last Seen:  

Check Emistry's Gold Room. Almost identical to what you want.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  37
  • Reputation:   3
  • Joined:  02/14/14
  • Last Seen:  

1 hour ago, domez86 said:

oi, eu preciso de um script que, se char matar um id mob específico (também apenas efeito em um mapa específico, se puder), ele te teleporta para outro mapa x y.

tnx!

prontera,0,0,0	script	teleport	HIDDEN_NPC,{

OnNPCKillEvent:
	getmapxy(@map$,@x,@y,0);
	if(killedrid == 1038 ) {  //IDMOB
		if(@map$ == "prontera") { //MAPEVENT
			atcommand "@warp izlude 121 120";  //MAPTELEPORT
		} 
	}
	end;
}

Not tested, if there are any errors here..

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  85
  • Topics Per Day:  0.02
  • Content Count:  207
  • Reputation:   0
  • Joined:  06/11/13
  • Last Seen:  

tnx all!

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...