The Failsafe Tutorial

Discussion in 'Scar/Simba Help' started by cazax, Feb 19, 2008.

The Failsafe Tutorial
  1. Unread #1 - Feb 19, 2008 at 7:55 AM
  2. cazax
    Joined:
    Nov 13, 2007
    Posts:
    457
    Referrals:
    0
    Sythe Gold:
    0

    cazax Forum Addict

    The Failsafe Tutorial

    This has been posted on srl forums by me too.

    Failsafes :)

    Failsafes are needed in a script. They save your script from a problem. JageX rotate symbols change colors, etc. The first thing you have to know is:
    or:
    They are the most used for failsafes.

    How To Use Them

    Else:
    End Else:
    And Else:
    Not:
    Are you understanding now?

    Using Them In Your Script

    Here i'll teach you how to use them and some examples of failsafes.
    Some Other Examples:

    Using an Integer as a Failsafe:
    For example you want to find a tree for a certain times. Use this:
    Here i use C as numbers that count the times that the script doesnt finds the color.

    Using a Boolean as a Failsafe:
    For Example you want to start a procedure but if something hasnt occurred, the script will skip that procedure. Use this:
    The Most Used
    Here, if the current player isnt logged in, the script will skip that procedure.
    Or if you want Log in a player:
    But remember to declare the players!

    Remember this:
    Adding failsafes = The script will run for more time and better.
     
  3. Unread #2 - Feb 20, 2008 at 2:18 AM
  4. Macroman
    Joined:
    Jan 21, 2007
    Posts:
    6,919
    Referrals:
    9
    Sythe Gold:
    12

    Macroman Hero
    Do Not Trade

    The Failsafe Tutorial

    Pm one of the Moderators to sticky this.
     
  5. Unread #3 - Feb 20, 2008 at 7:45 AM
  6. cazax
    Joined:
    Nov 13, 2007
    Posts:
    457
    Referrals:
    0
    Sythe Gold:
    0

    cazax Forum Addict

    The Failsafe Tutorial

    i Pmed Town.
     
< Help | Help! >

Users viewing this thread
1 guest


 
 
Adblock breaks this site