Venture Posted October 1, 2013 Group: Members Topic Count: 52 Topics Per Day: 0.01 Content Count: 179 Reputation: 2 Joined: 08/30/13 Last Seen: November 7, 2024 Share Posted October 1, 2013 (edited) I am trying to create a custom OnPCAttack event, which gets the Attacked monster's ID when a player does physical strikes. How do I do this..? I saw something similar on eAthena, http://www.eathena.ws/board/index.php?showtopic=205005 But that is when the NPC attacks the Player. Which part of the source should I add this? npc_event_doall("OnEventName"); pc_setglobalreg(sd,"var name =o",var from source which you want to import); How do I do On PC Attack? And can I actually attach Temporary NPC variable to monsters with script? Edited October 1, 2013 by gekigengar Quote Link to comment Share on other sites More sharing options...
Emistry Posted October 3, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2372 Joined: 10/28/11 Last Seen: 12 hours ago Share Posted October 3, 2013 this ? http://rathena.org/board/topic/76358-label-onpcattackmobevent/ Quote Link to comment Share on other sites More sharing options...
Venture Posted October 3, 2013 Group: Members Topic Count: 52 Topics Per Day: 0.01 Content Count: 179 Reputation: 2 Joined: 08/30/13 Last Seen: November 7, 2024 Author Share Posted October 3, 2013 (edited) this ? http://rathena.org/board/topic/76358-label-onpcattackmobevent/ Does it support the custom variable to get the attacked monster's GID? <Required> How do I remove the mapflag limitation? Edited October 3, 2013 by gekigengar Quote Link to comment Share on other sites More sharing options...
Question
Venture
I am trying to create a custom OnPCAttack event, which gets the Attacked monster's ID when a player does physical strikes.
How do I do this..?
I saw something similar on eAthena,
http://www.eathena.ws/board/index.php?showtopic=205005
But that is when the NPC attacks the Player.
Which part of the source should I add this?
How do I do On PC Attack?
And can I actually attach Temporary NPC variable to monsters with script?
Edited by gekigengarLink to comment
Share on other sites
2 answers 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.