Results 1 to 9 of 9

Thread: shoot fire bomb if no fire on ground

  1. #1
    Normal User Ticoune's Avatar
    Join Date
    Oct 2012
    Posts
    289
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    35
    Rep Power
    5

    shoot fire bomb if no fire on ground

    its possible?

  2. #2
    Banned
    Join Date
    May 2012
    Posts
    680
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    24
    Rep Power
    0
    Should be quite possible indeed.

    This code has not been tested, I've not looked up exact function names etc, but with a bit of tinkering I'm sure you can work that out.
    PHP Code:
    local SQMS = {30000,30000,7}local RUN_TO_USE "Firebomb"local FIRE_FIELD_ID 1337
    if(toptileid(unpack(SQMS)) ~= FIRE_FIELD_IDthen    useitem(RUNE_TO_USEunpack(SQMS))end 

  3. #3
    Normal User Ticoune's Avatar
    Join Date
    Oct 2012
    Posts
    289
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    35
    Rep Power
    5
    thx dude gona try to do something with that!

  4. #4
    Normal User
    Join Date
    Nov 2012
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Wow I was lookin for this too, thanks

  5. #5
    iBot User
    Join Date
    Jun 2012
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    24
    Rep Power
    5
    I coudn't make this to work, i want to use on sqm on my north ( fire bomb ) but it doesn't work

  6. #6
    iBot User
    Join Date
    Jun 2012
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    24
    Rep Power
    5
    BUMP
    GUYS I HAVE THIS ACTION AND WORKS NICE, BUT IT USE ON MYSELF, ITS POSSIBLE TO CHANGE AND USE THE BOMB ON MY NORTH SQM?

    if ( isitemontile(2118, posx, posy, posz) == false ) then
    useitemon("fire bomb rune", posx, posy, posz)
    end

  7. #7
    iBot User
    Join Date
    May 2012
    Location
    Spain
    Posts
    213
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    15 Post(s)
    Reputation
    32
    Rep Power
    5
    Quote Originally Posted by netto_ssa View Post
    BUMP
    GUYS I HAVE THIS ACTION AND WORKS NICE, BUT IT USE ON MYSELF, ITS POSSIBLE TO CHANGE AND USE THE BOMB ON MY NORTH SQM?

    if ( isitemontile(2118, posx, posy, posz) == false ) then
    useitemon("fire bomb rune", posx, posy, posz)
    end
    yes, here u are

    if ( isitemontile(2118, posx, posy, posz) == false ) then
    useitemon("fire bomb rune", posx, posy-1, posz)
    end


    Regards,
    Regards, NWA

  8. #8
    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

    if ( isitemontile(2118, posx, posy-1, posz) == false ) then
    useitemon("fire bomb rune", posx, posy-1, posz)
    end

  9. #9
    iBot User
    Join Date
    Jun 2012
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    24
    Rep Power
    5
    thank you very much <3! loved it! =****

Posting Permissions

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