Results 1 to 3 of 3

Thread: Action to activate alarm on low hp.

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

    Action to activate alarm on low hp.

    I've noticed that my bot failed upon healing and I try to activate the alarm whenever my hp goes below 30% but its not in the alarm, can anyone help me with the action please?

  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
    Code:
    if hppc < 30 then
       playsound("alert.wav")
    end

  3. #3
    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
    /\ would make a good mod, always helpful
    Last edited by BUgWT; 09-07-2012 at 11:43 AM.

Posting Permissions

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