leechy Posted December 20, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 12/19/12 Last Seen: November 12, 2014 Share Posted December 20, 2012 hi, im newbie looking for help :)Can anyone tell me is there a command script that can respond to a skill that used by a nearby player. Example: NPC1 will mes"hey there !!" when player1 use first aid skill near the NPC1. Thanks in advance Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted December 21, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted December 21, 2012 kinda feel lazy to write a working script atm but this is only possible to be done using OnPCUseSkillEvent means need source modification OnPCUseSkillEvent: if ( @useskillid == <1st aid> ) { getmapxy .@map$, .@x, .@y, 0; if ( .@map$ == ... .@x > ... .@x < .. .@y > ... .@y < ... ) npctalk "hey there"; end; Quote Link to comment Share on other sites More sharing options...
Question
leechy
hi, im newbie looking for help :)Can anyone tell me is there a command script that can respond to a skill that used by a nearby player.
Example:
NPC1 will mes"hey there !!" when player1 use first aid skill near the NPC1.
Thanks in advance
Link 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.