Results 1 to 6 of 6

Thread: One more thing..

  1. #1
    Join Date
    Nov 2008
    Location
    Arizona
    Posts
    236
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Wink One more thing..

    ok in my script it is using a TPA for picking an object..when picking i can sometimes get attacked. i have the attack procedure down i just want to make it where the procedure that i use to grab the object stops when in fight.

    is there anything i should put in Mainloop to i guess pause the objectgrab procedure then start again when out of fight?
    I'm Back.

  2. #2
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    if not infight then pickupobj;

  3. #3
    Join Date
    Nov 2008
    Location
    Arizona
    Posts
    236
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yea but in main loop i have it set up like this

    Code:
    begin
      Repeat
        PickObj;
        If InFight then
         FightProc;
    so even though the obj procedure is infight it still tries to pick the object.

    are u sure that would work?
    I'm Back.

  4. #4
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    yep.

    do

    if infight then fightproc else pickupobj;

  5. #5
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    What mormonman posted should work. Try changing it to something like:
    SCAR Code:
    begin
      Repeat
        if not InFight then
          PickObj
        else
          FightProc;

  6. #6
    Join Date
    Nov 2008
    Location
    Arizona
    Posts
    236
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by senrath View Post
    What mormonman posted should work. Try changing it to something like:
    SCAR Code:
    begin
      Repeat
        if not InFight then
          PickObj
        else
          FightProc;

    kk ill try it out thanks alot guys
    I'm Back.

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
  •