Results 1 to 8 of 8

Thread: Got a scripting question

  1. #1
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default Got a scripting question

    So I'm making a noob normall treecutter, but I donn't know what the best option is for finding a tree. So I did something noobish. I used 6 treecolors( as const ) and putted it in like findcolorspiral(x,y,Treecolor1 or 2 or 3 or 4 or 5 or 6,4,4,505,327), yeah I'm a noob scripter . Somebody got a way better method? cause I hate this one lol

    Creds to DannyRS for this wonderful sig!

  2. #2
    Neonknight77 Guest

    Default

    If(FindObj(Cx,Cy,'Chop down',Treecolor,5)) or FindObj(Cx,Cy,'Chop down',Treecolor2,5))Then

  3. #3
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    Quote Originally Posted by Neonknight77
    If(FindObj(Cx,Cy,'Chop down',Treecolor,5)) or FindObj(Cx,Cy,'Chop down',Treecolor2,5))Then
    aah should that be the best, and will it work with every include?

    Creds to DannyRS for this wonderful sig!

  4. #4
    Join Date
    Feb 2006
    Location
    Aussie
    Posts
    937
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    well, it is very good, and no it won't work with and include

  5. #5
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    Quote Originally Posted by jagex_fagex
    well, it is very good, and no it won't work with and include
    then I have to change the whole script problaby, well, I'll just leave the randoms :d

    Creds to DannyRS for this wonderful sig!

  6. #6
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    Got a new question I'm including SSi2.txt now, what is the best compass mover for this include?
    I wanna make the script move the compass to the north ocassionally

    Creds to DannyRS for this wonderful sig!

  7. #7
    Join Date
    Feb 2006
    Location
    London, England
    Posts
    2,045
    Mentioned
    2 Post(s)
    Quoted
    0 Post(s)

    Default

    Check the include

    Code:
    Face('N');
    SRL Wiki | SRL Rules | SRL Stats
    Ultimate SCAR Scripting Tutorial | Starblaster100's Auth System | Join the official SRL IRC now!


    Help Keep SRL Alive! Please disable Advert Blockers on SRL! Help Keep SRL Alive!


  8. #8
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    Quote Originally Posted by Starblaster100
    Check the include

    Code:
    Face('N');
    aah ok, thx
    Everybody was nooby lol

    Creds to DannyRS for this wonderful sig!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Question about scripting
    By XxsomethingxX in forum OSR Help
    Replies: 2
    Last Post: 03-06-2008, 07:18 PM
  2. question about scripting
    By OwnedPl0x?!?! in forum OSR Help
    Replies: 1
    Last Post: 11-14-2007, 01:43 PM
  3. Scripting question
    By mohua in forum OSR Help
    Replies: 8
    Last Post: 10-18-2006, 11:25 PM

Posting Permissions

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