luizragna Posted July 27, 2017 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 107 Reputation: 28 Joined: 02/12/14 Last Seen: January 9, 2023 Share 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 Link to comment Share on other sites More sharing options...
0 Z3R0 Posted July 27, 2017 Group: Members Topic Count: 39 Topics Per Day: 0.01 Content Count: 618 Reputation: 201 Joined: 11/09/11 Last Seen: June 14, 2024 Share 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 Link to comment Share on other sites More sharing options...
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 luizragnaLink to comment
Share on other sites
1 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.