Results 1 to 3 of 3

Thread: :(h): i need help again =)

  1. #1
    Join Date
    Jul 2007
    Posts
    124
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default :(h): i need help again =)

    k, am working on a fight cave runner. ive almost done it, but am stuck on 1 lil bit. most fight cave runners, when u for example die, or get teled. they would keep on doing the same thing. so i want to make a procedure that stops that.

    what i have in mind is. that if you have not went into the cave once in the last 10 minutes, then it would logout, and terminate the script.

    was wandering if any1 got any ideas =), then plz do share.

  2. #2
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default

    Its easy, make a new integer, then where you use your entering procedure, it propably looks like

    "If EnterCave Then //Stuff like "We are in cave := True" or something"

    so, do something like this

    SCAR Code:
    Repeat
      If EnterCave Then
        InCave := True;
      If InCave Then Break;
      Tries := Tries + 1;
    Until(InCave) Or (Tries > 20); // How many times you want it to attempt?

    You get the picture?

  3. #3
    Join Date
    Jul 2007
    Posts
    124
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yep. thanks. why didnt i think of that *slaps own forehead* =P

Thread Information

Users Browsing this Thread

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

Posting Permissions

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