Results 1 to 8 of 8

Thread: Pausar uma action ao aparecer player na tela...

  1. #1
    iBot User raul_napola's Avatar
    Join Date
    Nov 2012
    Location
    Sao paulo, SP
    Posts
    97
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    10
    Rep Power
    5

    Pausar uma action ao aparecer player na tela...

    Queria que pausasse uma action quando aparecer um player na tela..

    no caso tenho a base
    setsettings(Settings\\Actions\\List\\Nomedaaction\ \"Enabled", "no")

    mas onde colocarei isto? Sempre que apitar playeronscreen quero que ele desative 1 action chamada "Attacking spells"

    Obrigado

  2. #2
    Normal User tinicius's Avatar
    Join Date
    Nov 2012
    Location
    Minas Gerais, Brazil.
    Posts
    457
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    38
    Rep Power
    5
    PHP Code:
    if paround(7) == 0 then 
    setsettings
    ("Settings\\Actions\\List\\Nomedaaction\\Enable""no")
    else
    setsettings("Settings\\Actions\\List\\Nomedaaction\\Enable""yes)
    end 
    eu uso uma similar a essa que te mandei, se funcionar, da rep+ pfv , se não, me diz que tento arrumar xD
    Last edited by tinicius; 04-17-2013 at 02:03 AM.
    If i helped you rep+


    Scripter
    Selling EK 410 w/ 87 days of voucher AND 390 ED w/ 6 days of voucher BOTH PVP
    Actions That You May Need Here!

  3. #3
    iBot User raul_napola's Avatar
    Join Date
    Nov 2012
    Location
    Sao paulo, SP
    Posts
    97
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    10
    Rep Power
    5
    No caso acho que vai saber essa aqui, veio no script quero saber se ta configurado pra não tacar EXORI quando tiver player na tela. ve pra mim se tu entende:

    PHP Code:
    local creaturesToHit = {'Werewolf''war wolf'}

    if (
    maround(1unpack(creaturesToHit)) >= 5then
        
    if (paround(7true) == 0then
            
    if cancast('exori gran'then
                cast
    ('exori gran')
                
    wait(3090)
            elseif 
    cancast('exori'then
                cast
    ('exori')
                
    wait(3090)
            
    end
        end
        
        
    if target.id ~= and target.hppc 100 then
            
    if cancast('exori ico'then
                wait
    (90120)
                
    cast('exori ico')
                
    wait(3090)
            elseif 
    cancast('exori hur'then
                wait
    (90120)
                
    cast('exori hur')
                
    wait(3090)
            
    end
        end
    elseif (maround(1unpack(creaturesToHit)) == 3then
        
    if (paround(7true) == 0) and cancast('exori'then
            cast
    ('exori')
            
    wait(510)
        
    end
        
        
    if target.id ~= and target.hppc 100 then
            
    if cancast('exori ico'then
                wait
    (90120)
                
    cast('exori ico')
                
    wait(3090)
            elseif 
    cancast('exori hur'then
                wait
    (90120)
                
    cast('exori hur')
                
    wait(3090)
            
    end
        end
    elseif (maround(1unpack(creaturesToHit)) > 0) and target.id ~= and target.hppc 100 and standtime 2000 then
        
    if cancast('exori ico'then
            wait
    (90120)
            
    cast('exori ico')
            
    wait(3090)
        elseif 
    cancast('exori hur'then
            wait
    (90120)
            
    cast('exori hur')
            
    wait(3090)
        
    end
    elseif (maround(1unpack(creaturesToHit)) > 0) and target.id ~= and standtime 2000 then
        
    if cancast('exori ico'then
            wait
    (90120)
            
    cast('exori ico')
            
    wait(3090)
        elseif 
    cancast('exori hur'then
            wait
    (90120)
            
    cast('exori hur')
            
    wait(3090)
        
    end
    elseif (maround(6unpack(creaturesToHit)) > 0) and target.id ~= and target.hppc 40 then
        
    if cancast('exori hur'then
            cast
    ('exori hur')
            
    wait(3090)
        
    end
    end 
    Esse if paround(7) < significa o que?
    pelo que vi nos codigos isso detecta player na tela? e o numero é pra que?

    e maround() ?

  4. #4
    Normal User tinicius's Avatar
    Join Date
    Nov 2012
    Location
    Minas Gerais, Brazil.
    Posts
    457
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    38
    Rep Power
    5
    paround é pra detectar player o "(7)" são os sqms de distancia e maround() é monstros ao redor..
    essa sua só vai usar exori qd tiver player com mais de 7 sqms de distancias e + de 3 monstros ao redor e se tiver só 1 vai usar exori hur e ico. jaja leio direito e confirmo, pq to meio ocupado xD

    @edit: Exori gran 5+ monstros se tiver player a + de 7 sqms. Exori 3+ monstros se tiver player a + de 7 sqms e exori hur e ico com 1 monstro
    Last edited by tinicius; 04-17-2013 at 02:21 AM.
    If i helped you rep+


    Scripter
    Selling EK 410 w/ 87 days of voucher AND 390 ED w/ 6 days of voucher BOTH PVP
    Actions That You May Need Here!

  5. #5
    iBot User raul_napola's Avatar
    Join Date
    Nov 2012
    Location
    Sao paulo, SP
    Posts
    97
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    10
    Rep Power
    5
    paround é pra detectar player o "(7)" são os sqms de distancia e maround() é monstros ao redor..
    essa sua só vai usar exori qd tiver player com mais de 7 sqms de distancias e + de 3 monstros ao redor e se tiver só 1 vai usar exori hur e ico. jaja leio direito e confirmo, pq to meio ocupado xD
    Vlw bro, entao quer diser que nao vai soltar com player na tela? :P

  6. #6
    Normal User tinicius's Avatar
    Join Date
    Nov 2012
    Location
    Minas Gerais, Brazil.
    Posts
    457
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    38
    Rep Power
    5
    Quote Originally Posted by raul_napola View Post
    Vlw bro, entao quer diser que nao vai soltar com player na tela? :P
    isso!

    se ajudei da rep+ ai UAHUHUHSA )
    If i helped you rep+


    Scripter
    Selling EK 410 w/ 87 days of voucher AND 390 ED w/ 6 days of voucher BOTH PVP
    Actions That You May Need Here!

  7. #7
    iBot User raul_napola's Avatar
    Join Date
    Nov 2012
    Location
    Sao paulo, SP
    Posts
    97
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    10
    Rep Power
    5
    vlw mlk +rep

  8. #8
    Normal User tinicius's Avatar
    Join Date
    Nov 2012
    Location
    Minas Gerais, Brazil.
    Posts
    457
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    38
    Rep Power
    5
    ehnois parcero
    If i helped you rep+


    Scripter
    Selling EK 410 w/ 87 days of voucher AND 390 ED w/ 6 days of voucher BOTH PVP
    Actions That You May Need Here!

Posting Permissions

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