Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Need action for SD

  1. #1
    Normal User
    Join Date
    Aug 2012
    Location
    Begen
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Post Need action for SD

    Diden't find a action forum so i'll guess this is the place to post it.

    Is there any action that counts monster around and SD if there is 4 or more on the screen.

    I know there is a function inbuildt in the Targeting but don't that only works for the same monster?

    Anyway is there anyone that can help me out.

  2. #2
    Banned
    Join Date
    May 2012
    Posts
    1,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    127
    Rep Power
    0
    Use categories. I'd give an example how but I'm not home atm

  3. #3
    Normal User
    Join Date
    Aug 2012
    Location
    Begen
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Anyone else that might be able to explain what BugWT is talking about?

  4. #4
    Normal User
    Join Date
    Aug 2012
    Location
    Begen
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Isen't there anyone that knows what BugWT is talking about? :/

  5. #5
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Try:
    PHP Code:
    local CREATURES = {"Dragon Lord","Dragon"}
    local MIN_CREATURES 4

    if (maround(7,false,unpack(CREATURES)) >= MIN_CREATURES) and (itemcount("sudden death rune") > 0then
        
    for 1#CREATURES do
            
    setsettings("Settings\\Targeting\\Monsters\\"..CREATURES[i].."\\ListSettings\\Setting0\\ListSpell\\Spell0","Sudden Death Rune")
        
    end
    else
        for 
    1#CREATURES do
            
    setsettings("Settings\\Targeting\\Monsters\\"..CREATURES[i].."\\ListSettings\\Setting0\\ListSpell\\Spell0","Exori Frigo")
        
    end
    end 

  6. #6
    Normal User
    Join Date
    Aug 2012
    Location
    Begen
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Thanks alot Soder, the (maround (7, false is that for the number of monster? that will say i should write 4 instead?

  7. #7
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Change local MIN_CREATURES = 4

  8. #8
    Normal User
    Join Date
    Aug 2012
    Location
    Begen
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Oh. Thanks alot soder, it works good, but do you have any idea what BugWT was talking about? sounded intressting.

  9. #9
    Normal User
    Join Date
    Mar 2012
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    5
    Bug was talking about targeting categories.

    there is an option for "category" in each targeting list, so for example if you hunting quaras:

    you want to sd when there are 4+ pincher/predator/hydromancer on screen, set category: A for each of those monster

    then make new monster in targeting called: "Category A"
    then make sure it is most priority than all those three monsters.

  10. #10
    Normal User
    Join Date
    Jul 2012
    Posts
    178
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    6
    Rep Power
    0
    Actions are a lot more reliable though so I suggest you use that one.

Posting Permissions

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