Results 1 to 9 of 9

Thread: Scripting question

  1. #1
    Join Date
    Oct 2006
    Posts
    21
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Scripting question

    I am just making a script and I came across a problem.
    How do I get Scar to rotate you angle so it faces North, and get the highest view possible?
    I'v seen it done in other scripts, and was wondering how to do it.

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

    Default

    SCAR Code:
    Face('N');
    HighestAngle;

    i believe that works, you may have to change 'Face' to something else
    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!


  3. #3
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    I think Face Doesn't work anymore.. ( Not sure)

    If it doesn't work

    Change it to

    MakeCompass('N')

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

    Default

    ok, Face will be in the next version of SRL then
    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!


  5. #5
    Join Date
    Oct 2006
    Posts
    21
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    do I need to include something? because I get
    [Error] (12:1): Unknown identifier 'HighestAngle' in script C:\Program...

  6. #6
    Join Date
    Feb 2006
    Posts
    35
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Do you have SRL {.include -}'d?
    You last visited: 06-22-2006 at 02:05 PM

    It's been a while.

  7. #7
    Join Date
    Oct 2006
    Posts
    21
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Once again Thanks You guys,

    BTW
    Face did not work
    MakeCompass Did.

  8. #8
    Join Date
    Sep 2006
    Posts
    161
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    PerfectNorth is another alternative.


    Wow. I've been away quite a while. Real life, yea, way unpredictable. Sorry, y'all, if I've caused any inconvenience.

  9. #9
    Join Date
    Oct 2006
    Posts
    119
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    PerfectNorth; likeI Pick Axes said calls MakeCompass('North'); like 3-4 times, then it raises the camera angle to its highest position. I perfer to use it to any others.

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

Posting Permissions

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