Results 1 to 9 of 9

Thread: Alert when deposit

  1. #1
    Normal User
    Join Date
    Dec 2012
    Location
    Poland
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Alert when deposit

    I Need to clean first respawn in my script, so when character deposit items I need to hear that.
    Could you make an action script on it?

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

    if (pzone) then playsound("alert.wav") end

    This will alert when your character is in a protection zone.

  3. #3
    Normal User
    Join Date
    Dec 2012
    Location
    Poland
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Thanks, it could be useful.
    Now I need an action for attacking with runes. If monster has x to y hp then attack him with rune.

  4. #4
    Premium User
    Join Date
    Jul 2012
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    5
    you could just change that in the targeting settings if im not wrong

  5. #5
    Normal User
    Join Date
    Dec 2012
    Location
    Poland
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    If I want to attack monster to death by rune, yes, I could change this in targeting settings.
    BUT I want from 2000 to 1000 hp hit by sd. And from 0 to 999 hit with exori frigo.

  6. #6
    Banned
    Join Date
    Nov 2012
    Location
    Sweden
    Posts
    450
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    65
    Rep Power
    0
    Quote Originally Posted by Nilowz View Post
    If I want to attack monster to death by rune, yes, I could change this in targeting settings.
    BUT I want from 2000 to 1000 hp hit by sd. And from 0 to 999 hit with exori frigo.

    Add these two:

    Settings\\Targeting\\Monsters\\_MONSTER_\\ListSett ings\\_SPELL_\\HpRange 50 to 100 %
    Settings\\Targeting\\Monsters\\_MONSTER_\\ListSett ings\\_SPELL_\\ListSpell\\Spell0 Sudden Death Rune

    Settings\\Targeting\\Monsters\\_MONSTER_\\ListSett ings\\_SPELL_\\HpRange", 0 to 50 %
    Settings\\Targeting\\Monsters\\_MONSTER_\\ListSett ings\\_SPELL_\\ListSpell\\Spell0, "Ice Strike

    or try


    local CONFIG = {

    MONSTER = { "Scarab" },
    MONSTER_HPPC = 50,
    MONSTER_RANGE_SD = 7,
    MONSTER_RANGE_FRIGO = 3,
    SPELL_FRIGO = "Exori Frigo",
    SPELL_SD = "Sudden Death Rune",

    }

    if target.hppc >= MONSTER_HPPC and target.name == table(CONFIG.MONSTER) and target.id ~= 0 and target.isshootable and target.dist <= MONSTER_RANGE_SD and cooldown(CONFIG.SPELL_SD) == 0 then
    useitemontarget(CONFIG.SPELL_SD, table(CONFIG.MONSTER)
    else
    if target.hppc < MONSTER_HPPC and target.name == table(CONFIG.MONSTER) and target.id ~= 0 and target.isshootable and target.dist <= MONSTER_RANGE_FRIGO and cancast("exori frigo") then
    cast("exori frigo")
    end
    end
    Last edited by PromB; 08-02-2013 at 12:54 PM.

  7. #7
    Normal User
    Join Date
    Dec 2012
    Location
    Poland
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Ok I just used targeting settings. Thanks

    Now I want an action script which stops collecting gold coins when cap is less than 80.

  8. #8
    Banned
    Join Date
    Nov 2012
    Location
    Sweden
    Posts
    450
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    65
    Rep Power
    0

    local dropgold = 80

    if cap <= dropgold then
    setsettings("Settings\\Looting\\List\\gold-coin\\Destination", 99)
    else
    setsettings("Settings\\Looting\\List\\gold-coin\\Destination", GoldBackPack) -- or whatever you use
    end
    Last edited by PromB; 08-02-2013 at 03:37 PM.

  9. #9
    Normal User
    Join Date
    Dec 2012
    Location
    Poland
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Works I need an action script for logging out of game if it isn't cash in bank for pots

Posting Permissions

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