Results 1 to 5 of 5

Thread: Run if "boss" on screen. Is that action possible to make?

  1. #1
    iBot User
    Join Date
    Dec 2013
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    10
    Rep Power
    3

    Run if "boss" on screen. Is that action possible to make?

    Hello, is it possible to make my character run for its life if "boss" on screen?
    This boss spawns in random place/floor.

    Thank You.

  2. #2
    Banned
    Join Date
    Jan 2013
    Posts
    1,792
    Mentioned
    37 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    76 Post(s)
    Reputation
    191
    Rep Power
    0
    Quote Originally Posted by fiket View Post
    Hello, is it possible to make my character run for its life if "boss" on screen?
    This boss spawns in random place/floor.

    Thank You.
    ofc it's possbile just give more details

  3. #3
    iBot User
    Join Date
    Dec 2013
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    10
    Rep Power
    3
    Sometimes under Thais mountains boss Grorlam spawns. Always at different place and different floor. I would like my character to run to depo and logout if if see this boss.
    Last edited by fiket; 09-07-2014 at 08:28 AM.

  4. #4
    iScripter Eli's Avatar
    Join Date
    Mar 2012
    Posts
    3,764
    Mentioned
    492 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    956 Post(s)
    Reputation
    586
    Rep Power
    10
    Lua Code:
     -- X it's your floor position
    -- Y it's label to go at current floor
    if maround(10,false, "boss name") and posz == X then 
               stopattack() 
               gotolabel("Y") -- etc etc all floors  
               wait(10000)    
            elseif maround(10,false, "boss name") and posz == X+1 then 
               stopattack() 
               gotolabel("Y+1") -- etc etc all floors  
               wait(10000)      
            end

  5. #5
    iBot User
    Join Date
    Dec 2013
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    10
    Rep Power
    3
    Thanks alot! I will test it asap.

Posting Permissions

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