MojoMojo Posted May 29, 2012 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 114 Reputation: 1 Joined: 03/07/12 Last Seen: January 17, 2015 Share Posted May 29, 2012 (edited) We can call a function on itens or NPC script, but where are these functions? Example: ,,,,,,{ callfunc "SetPalete",1; },{},{} Where i can found the function script "SetPalete"? Edited May 29, 2012 by MojoMojo Quote Link to comment Share on other sites More sharing options...
Nameless2you Posted May 29, 2012 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 351 Reputation: 52 Joined: 11/15/11 Last Seen: June 15, 2015 Share Posted May 29, 2012 yes you can, and normally you would have the function placed in your npc folder. e.g. npc/custom/fund_palete.txt then of course you have to add it to a script_****.conf and instead of using -<tab>script<tab>SetPalete<tab>-1,{} you use function<tab>script<tab>SetPalete<tab>{} Explained here: http://rathena.org/wiki/Function Quote Link to comment Share on other sites More sharing options...
MojoMojo Posted May 29, 2012 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 114 Reputation: 1 Joined: 03/07/12 Last Seen: January 17, 2015 Author Share Posted May 29, 2012 Thank you, but the rathena don't have a folder with the originals scrips of functions of ragnarok? Quote Link to comment Share on other sites More sharing options...
Magnetix Posted May 29, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 446 Reputation: 30 Joined: 12/08/11 Last Seen: October 13, 2024 Share Posted May 29, 2012 there's this npc/other/Global_Functions.txt 1 Quote Link to comment Share on other sites More sharing options...
MojoMojo Posted June 1, 2012 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 114 Reputation: 1 Joined: 03/07/12 Last Seen: January 17, 2015 Author Share Posted June 1, 2012 thank you! Quote Link to comment Share on other sites More sharing options...
Question
MojoMojo
We can call a function on itens or NPC script, but where are these functions?
Example:
Where i can found the function script "SetPalete"?
Edited by MojoMojoLink to comment
Share on other sites
4 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.