luizragna Posted July 27, 2017 Posted July 27, 2017 (edited) Hello guys, I would like to do that when I move an NPC, he would activate the label OnTouch. For some reason it doesn't work. prontera,100,100,4 script MoveMan 64,{ movenpc "UnknownMan",prontera,105,105; end; } prontera,104,100,4 script UnknownMan 65,1,1,{ OnTouch: mes "Hello !!"; close; } Basically, i want throw the npc on the player and the label OnTouch activate Edited July 27, 2017 by luizragna Quote
0 Z3R0 Posted July 27, 2017 Posted July 27, 2017 Npc won't trigger on touch... but after the npc move you could add a donpcevent... and call that npc OnTouch label... Calculate how long it takes to move from point a to point b... Start a timer and OnTimerXXXX: dpnpcevent("ontouchnpc::OnTouch"); Quote
Question
luizragna
Hello guys, I would like to do that when I move an NPC, he would activate the label OnTouch. For some reason it doesn't work.
Basically, i want throw the npc on the player and the label OnTouch activate
Edited by luizragna1 answer 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.