Adblock breaks this site

The Failsafe Tutorial

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

  1. cazax

    cazax Forum Addict

    Joined:
    Nov 13, 2007
    Posts:
    457
    Referrals:
    0
    Sythe Gold:
    0
    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.
     
  2. Macroman

    Macroman Hero
    Do Not Trade

    Joined:
    Jan 21, 2007
    Posts:
    6,919
    Referrals:
    9
    Sythe Gold:
    12
    The Failsafe Tutorial

    Pm one of the Moderators to sticky this.
     
  3. cazax

    cazax Forum Addict

    Joined:
    Nov 13, 2007
    Posts:
    457
    Referrals:
    0
    Sythe Gold:
    0
    The Failsafe Tutorial

    i Pmed Town.
     
< Help | Help! >


 
 
Adblock breaks this site