Results 1 to 2 of 2

Thread: IF SUMMON ON SCREEN THEN SETTAGETING("OFF") need help :)

  1. #1
    iBot User
    Join Date
    Jul 2012
    Posts
    132
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    12 Post(s)
    Reputation
    22
    Rep Power
    5

    IF SUMMON ON SCREEN THEN SETTAGETING("OFF") need help :)

    Hello ,

    I need script , when summon is on screen bot off targeting .

    This is alarm if skull on screen may be can edit it .

    Code:
    local c = getcreatures("ps")
    
    for i = 0, c.count - 1 do
        local k = c[i]
    
        if (k.skull > 0 and pzone == false) then
          playsound("alert.wav") 
       end
    end

  2. #2
    Premium User Eldar's Avatar
    Join Date
    Apr 2013
    Location
    Poland
    Posts
    1,335
    Mentioned
    37 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    62 Post(s)
    Reputation
    159
    Rep Power
    7
    Lua Code:
    local c = getcreatures("ms")
     
    for i = 0, c.count - 1 do
      if (c[i].type == 4 and pzone == false) then
          settargeting("no")
       end
    end
    Last edited by Eldar; 12-30-2013 at 10:51 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
  •