Results 1 to 7 of 7

Thread: Make players True while running?

  1. #1
    Join Date
    Jun 2006
    Location
    Tennessee, USA
    Posts
    2,603
    Mentioned
    1 Post(s)
    Quoted
    46 Post(s)

    Default Make players True while running?

    I'm wondering how/ is it possible to make a False character True while running a script? Now I know about RC and everything, but I dont have access to another computer to do that. So if I pause the script, then fix my False players, how can i let the script know that they are true again?

  2. #2
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    have something like:
    SCAR Code:
    procedure ResetStatus;
    var
      i: Integer;
    begin
       if iskeydown(whatever) then
       begin
         for i := 0 to HowManyPlayers - 1 do
         begin
         Players[i].Active := True;
         end;
       end;
    end;

  3. #3
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    2,984
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Yeah something like that, and call it everytime in your randoms loop
    Administrator's Warning:


  4. #4
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Perhaps a non-modal form?

  5. #5
    Join Date
    Aug 2006
    Location
    London
    Posts
    2,021
    Mentioned
    2 Post(s)
    Quoted
    0 Post(s)

    Default

    make sure you reset your location like RC does as well
    if your in a random and its loc is 'New Box Failed' the script wont do anything because of the
    if( loc = 'Bank' )then
    WalkToMine;
    Join the Official SRL IRC channel. Learn how to Here.

  6. #6
    Join Date
    Jun 2006
    Location
    Tennessee, USA
    Posts
    2,603
    Mentioned
    1 Post(s)
    Quoted
    46 Post(s)

    Default

    ok thanks guys. i'll try some of that out.

  7. #7
    Join Date
    Feb 2007
    Posts
    215
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i like the non modal form idea. I was planning on creating a non modal script control and output form for my oak annihilator. It would be pretty sweet. If you are wondering on how to do this, just change form.showmodal to show or showform or something (i can't remember without an IDE, ya ima n33b)
    A common mistake people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
    -Douglas Adams

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. !Not AND =True?
    By Enchanted in forum OSR Help
    Replies: 1
    Last Post: 10-23-2008, 08:30 PM
  2. True or Not?
    By faster789 in forum OSR Help
    Replies: 8
    Last Post: 03-31-2008, 10:49 PM
  3. How to make the script show it's running time?
    By PwNZoRNooB in forum OSR Help
    Replies: 4
    Last Post: 05-12-2007, 03:01 PM
  4. how do i make a procedure true
    By the scar noob in forum OSR Help
    Replies: 17
    Last Post: 01-17-2007, 07:45 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
  •