Well I've followed this thread http://forum.ragezone.com/f428/add-learning-npcs-start-finish-643364/
and I got stuck on those lines
I couldn't figure it out what does the status -1 / 0 / 1 does
I mean , can someone describe me what it does and what is the difference between setting the status as 1 / 0 / -1 ?
Thanks ! , and if you can link me to more "Tutorials" about JS / Java for maplestory I will be glad !
I want to start to code asap , I have enought time for learning and enought skills to learn it
and I got stuck on those lines
Code:
var status;
function start() { // starts the NPC
status = -1; // sets the status of the NPC to -1
action(1, 0, 0); // sets the mode to 1, type to 0, and selection to 0 for the NPC
} // closes off the start function
I mean , can someone describe me what it does and what is the difference between setting the status as 1 / 0 / -1 ?
Thanks ! , and if you can link me to more "Tutorials" about JS / Java for maplestory I will be glad !
I want to start to code asap , I have enought time for learning and enought skills to learn it