Kurofly Posted June 9, 2015 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 283 Reputation: 31 Joined: 07/08/14 Last Seen: January 15, 2022 Share Posted June 9, 2015 Hey rA! I'm trying to attach a script to a skill but I have no idea how to do that since I'm a real novice in source stuff. Does anyone know how to call a scripting function from the source via skill.c or battle.c? Thanks in advance Quote Link to comment Share on other sites More sharing options...
Hismoon Posted June 10, 2015 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 48 Reputation: 0 Joined: 12/07/11 Last Seen: March 15, 2022 Share Posted June 10, 2015 Search in the source code where the code execute or where it should be and add this: npc_event(sd,"<NPCNAME>::<EVENTLABEL>",0); Then recompile the server and add in a NPC with the name <NPCNAME> a event label with the name from <EVENTLABEL>. Quote Link to comment Share on other sites More sharing options...
Kurofly Posted June 10, 2015 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 283 Reputation: 31 Joined: 07/08/14 Last Seen: January 15, 2022 Author Share Posted June 10, 2015 Nice It'll help me out a lot, thank you ! Quote Link to comment Share on other sites More sharing options...
Question
Kurofly
Hey rA!
I'm trying to attach a script to a skill but I have no idea how to do that since I'm a real novice in source stuff.
Does anyone know how to call a scripting function from the source via skill.c or battle.c?
Thanks in advance
Link 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.