Signup Now
Results 1 to 4 of 4
  1. #1
    Free User
    Join Date
    Oct 2015
    Posts
    14
    Reputation
    10
    Rep Power
    0

    Help with forcerefill and run pk action

    Hello i need help with my run pk action and forcerefill.
    I just start to make my first script and i want my char to run pz and log out when attacked by player and go refill at any time he is out of manas.
    The cave which i hunting has got many areas on the same floor for which need to jump to another floor to go.
    My question is how to make it simple to leave this cave without creating many labels for each area.
    For example if its 2 floors only i making 2 labels first hunt and second leaving and the if$posz == 7 or if$posz == 8 he going to specific waypoint, and what if second floor is splitted( i mean acces from 2 different holes) then posz8 is on both places and he cant see on which part of cave he is? How to do this?

  2. #2
    Free User
    Join Date
    Oct 2015
    Posts
    14
    Reputation
    10
    Rep Power
    0
    Is it possible to give specific values of pos x and y? For example if $posz ==8 and $posx <1234 and $posy >1234 then.............

  3. #3
    Free User pedegie's Avatar
    Join Date
    Dec 2015
    Location
    Poland
    Posts
    264
    Reputation
    28
    Rep Power
    17
    Yes it is, just exactly as you write there.
    if $posz == 8 then
    if $posx <= 1234 and $posx >= 1230 and $posy <= 1234 then
    gotolabel('refill')
    elseif $posx <= 3210 then
    --....
    end
    end

  4. #4
    Free User
    Join Date
    Oct 2015
    Posts
    14
    Reputation
    10
    Rep Power
    0
    Thanks alot, that help me so much soon my script will be rdy :P

 

 

Posting Permissions

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