Results 1 to 5 of 5

Thread: FindEnt;

  1. #1
    Join Date
    Mar 2007
    Posts
    138
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default FindEnt;

    I want a tree ent thing for my wcer so I went into woodcutting.scar and i found I needed to just add FindEnt;

    So i added something like this

    Code:
    procedure Chop;//this aint my real script
    begin
    repeat
    FindEnt;
    FindHead;
    blah blah//this is the rest of chopping script
    waud// this is just a example 
    wad// not real script
    end.
    Then comes up with an error saying Invalid number of parameters on the FindEnt;. Why won't this work?

    EDIT: Fixed it just needed FintEnt(thecolor);

  2. #2
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default

    the function is this
    FindEnt(TreeColor: Integer)
    atm ur doing it as FindEnt
    you're missing out the
    (TreeColor: Integer)
    so you would put findent(<Put colour of your tree here)
    u use the colour picker to pick the colour of ur tree. Which u hopefully know how to do

    e.g. this colour is not correct but just an example:
    FindEnt(817362) - 817362 is not the proper colour but when u pick the colour of the tree u should get a number in the debug box (Little box at the bottom of SCAR) e.g. "817362 (231,66) (234,292)" now don't worry about the stuff in the brackets, they're not needed just copy the big number at the start. Hope that helped

    EDIT: *sigh* you already fixed it. oh well hopefully helpful for someone else
    Sleeping...

  3. #3
    Join Date
    Apr 2007
    Location
    Finland
    Posts
    938
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  4. #4
    Join Date
    Mar 2007
    Posts
    138
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    lol u did help both :P thanks

  5. #5
    Join Date
    Mar 2007
    Posts
    276
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yea all you need to do is type FindEnt(EntColor);

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. FindEnt help
    By Zeta in forum OSR Help
    Replies: 7
    Last Post: 10-07-2007, 07:05 PM
  2. findent :/
    By macromacro123 in forum OSR Help
    Replies: 12
    Last Post: 08-24-2007, 08:20 AM

Posting Permissions

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