how to make some skillls (might not work on some servers)
THIS IS THE SIMPLEST WAY I KNOW
AND IF U DONT LIKE THIS DONT POST:d
this might not work for all skills and for some it might
if some1 already posted im sry just give me link so i can c and ill remove thnx
ok to start off if you want to set lets say combat requirements
you use this
Code:
if (combatLevel > #);
and set it to what u want it to b
say u want to make it so u have to b a certain combat lvl
to go down somewhere you would just add this to it
here is an example
Code:
if(objectID == #### && combatLevel < ##) {
teleportToX = ####; //the x coords obviously
teleportToY = ####; //the y coords obviously
sendMessage("you must be combat level ## to go down there");
}
and if u want to make it so you have to use and item on another item that is in your
inventory
u simply put this
Code:
if (itemUsed == ### && useWith == ###) {
deleteItem(###, getItemSlot(###), 1); //you put the itemid u want to go away here
addItem(###, #); //the item you want to get once u do this goes here
addSkillXP(##, ##); //the amount of exp in first spot and the number of the skill in other
setAnimation(###); //the emote you want to do here
}
and here is how to use an object if you have a specific item in ur
inventory
Code:
if (objectID == ####) { //the object id obviously
if (playerHasItem(####)) { //the item id
setAnimation(##); //the emote id
deleteItem(####, getItemSlot(####), 1);
addItem(###, ##);
addSkillXP(###, ##);
sendMessage("///"); //message goes here
}
}
that is it for now
if you would like for me to tell you how to do anything else plz ask
away i will try my best
and if u dont understand this plz post ill try to help :d
r.e.p is appreciated