Results 1 to 8 of 8

Thread: Use "Music Box" item in "x" creature if its on screen... Need help

  1. #1
    Normal User
    Join Date
    Aug 2013
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Exclamation Use "Music Box" item in "x" creature if its on screen... Need help

    I need an action to use "Music Box" if Midnight Phanter is on screen. Can anyone help me?

  2. #2
    iBot User
    Join Date
    Jun 2012
    Posts
    517
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    132
    Rep Power
    7
    PHP Code:
    for CREATURE in Creature.GetAll("ms") do
        if 
    table.find({"Midnight Phanter"}, CREATURE:Name()) and CREATURE:isReachable() then
            Self
    .UseItemOnCreature("Music Box"CREATURE:ID())
            
    wait(2300)
        
    end
    end 

  3. #3
    Normal User
    Join Date
    Aug 2013
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Quote Originally Posted by garkstal13 View Post
    PHP Code:
    for CREATURE in Creature.GetAll("ms") do
        if 
    table.find({"Midnight Phanter"}, CREATURE:Name()) and CREATURE:isReachable() then
            Self
    .UseItemOnCreature("Music Box"CREATURE:ID())
            
    wait(2300)
        
    end
    end 
    Thanks man, really thanks, is it ready just for put in actions? ir i need to modify something? For example for use maxila for cavebear what i need to change? or just the variables?
    Last edited by Rulo6666; 09-25-2013 at 07:46 PM.

  4. #4
    iBot User
    Join Date
    Jun 2012
    Posts
    517
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    132
    Rep Power
    7
    Change just variables

  5. #5
    Normal User
    Join Date
    Aug 2013
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Thanks you so much (: really

  6. #6
    Normal User
    Join Date
    Aug 2013
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Quote Originally Posted by garkstal13 View Post
    PHP Code:
    for CREATURE in Creature.GetAll("ms") do
        if 
    table.find({"Midnight Phanter"}, CREATURE:Name()) and CREATURE:isReachable() then
            Self
    .UseItemOnCreature("Music Box"CREATURE:ID())
            
    wait(2300)
        
    end
    end 
    What is "ms" variable? O:

  7. #7
    iBot User
    Join Date
    Jun 2012
    Posts
    517
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    132
    Rep Power
    7
    m - must be a moster
    s - must be on the same floor as you and be in visible point of monitor

  8. #8
    Normal User
    Join Date
    Aug 2013
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Quote Originally Posted by garkstal13 View Post
    m - must be a moster
    s - must be on the same floor as you and be in visible point of monitor
    Great thankss, i supposed i can be afk and tame the panther

Posting Permissions

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