Thread: how to make some skillls (might not work on some servers)

Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1 how to make some skillls (might not work on some servers) 
    Registered Member
    Your Name's Avatar
    Join Date
    Oct 2007
    Age
    27
    Posts
    1,445
    Thanks given
    0
    Thanks received
    4
    Rep Power
    172
    THIS IS THE SIMPLEST WAY I KNOW
    AND IF U DONT LIKE THIS DONT POST


    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
    r.e.p is appreciated
    [Only registered and activated users can see links. ]



    MoparScape name = Doodooss
     

  2. #2  
    Pikachu
    Guest
    Hey nice I Enjoy evry tut of You! Great
     

  3. #3  
    Banned

    Join Date
    May 2007
    Posts
    2,690
    Thanks given
    115
    Thanks received
    45
    Rep Power
    0
    good job, on this..
     

  4. #4 ty 
    Registered Member
    Join Date
    Oct 2007
    Posts
    41
    Thanks given
    0
    Thanks received
    0
    Rep Power
    14
    thanks for this helped me
     

  5. #5  
    I'm unique


    Join Date
    Oct 2006
    Age
    28
    Posts
    708
    Thanks given
    0
    Thanks received
    1
    Rep Power
    82
    Good work on this tutorial
    Sincerly yours,
    Simox.
     

  6. #6  
    Registered Member
    Your Name's Avatar
    Join Date
    Oct 2007
    Age
    27
    Posts
    1,445
    Thanks given
    0
    Thanks received
    4
    Rep Power
    172
    np y'all and a n g e l
    why so sarcastic?
    [Only registered and activated users can see links. ]



    MoparScape name = Doodooss
     

  7. #7  
    Louisiana
    Guest
    your so hood!

    hehe nice tut

    sorry i just like that name lol
     

  8. #8  
    Zenzie
    Guest
    Wow. I love you ... You're smart >.>

    Should make more sense.
    Code:
    if(objectID == #### && combatLevel > ##) {
    teleportToX = ####;   //the x coords obviously
    teleportToY = ####;   //the y coords obviously
    }else{
    sendMessage("you must be combat level ## to go down there");
    }
     

  9. #9  
    Registered Member
    Your Name's Avatar
    Join Date
    Oct 2007
    Age
    27
    Posts
    1,445
    Thanks given
    0
    Thanks received
    4
    Rep Power
    172
    Quote Originally Posted by Zenzie View Post
    Wow. I love you ... You're smart >.>

    Should make more sense.
    Code:
    if(objectID == #### && combatLevel > ##) {
    teleportToX = ####;   //the x coords obviously
    teleportToY = ####;   //the y coords obviously
    }else{
    sendMessage("you must be combat level ## to go down there");
    }
    dude why the **** r u spamming all my topics????
    if u dont like it
    dont post!
    [Only registered and activated users can see links. ]



    MoparScape name = Doodooss
     

  10. #10  
    Registered Member Java Jamie's Avatar
    Join Date
    Oct 2007
    Posts
    294
    Thanks given
    0
    Thanks received
    0
    Rep Power
    8
    Nice, Helps alot of new coders to understand how to make there own stats work.

    R3P+
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •