Jump to content
  • 0

Question about killmonster by OnNpcTouch


snowkeg

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  01/21/17
  • Last Seen:  

Hi, I'm working on a storyline and the NPC needs to killmonster by OnNpcTouch.

I can trigger the warp command by OnNpcTouch, but there is nothing happen when I was trying to use killmonster ".@map$","this"; as a command to destroy the mob.

Is there anyway I can kill the mob by touching the NPC?

Can anyone give some help?

Edited by snowkeg
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   38
  • Joined:  04/28/13
  • Last Seen:  

Have you written correctly the OnTouchNPC syntax?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  01/21/17
  • Last Seen:  

prontera,152,178,3	script	test	50,3,3,{
end;

OnTouch:
	end;
	
OnTouchNPC:
	killmonster "prontera","this";
	end;
}

The script is here

After the mob contacted the NPC, there was nothing happened.

 

I have just realized I open the topic in the wrong board:(

It should be a script problem.

Sorry about that.

 

 

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