>> JASS/GUI requests/questions in here <<

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
Ozzapoo
The Flying Cow!
Posts: 2196
Joined: November 2nd, 2007, 10:34 pm
Location: Melbourne

Re: >> JASS/GUI requests/questions in here <<

Post by Ozzapoo »

Code: Select all

function Trig_Mul_Actions takes nothing returns nothing
   local integer tmp1    
   local integer i       
    if ( GetSpellAbilityId() == 'A000' ) then
        set i = 1
        set tmp1 = GetUnitAbilityLevel(GetTriggerUnit(),GetSpellAbilityId()) + 1
        call PauseUnit(GetTriggerUnit(),true)
        call PauseUnit(GetSpellTargetUnit(),true)
        loop
            call TriggerSleepAction(0.4)
            set i=i+1
            exitwhen i>tmp1
            call SetUnitAnimation(GetTriggerUnit(),"attack2")
            call SetUnitAnimation(GetSpellTargetUnit(),"death")
            call DamageUnitByTypes(GetTriggerUnit(),GetSpellTargetUnit(),GetHeroAgi(GetTriggerUnit(),true),ATTACK_TYPE_HERO,DAMAGE_TYPE_FIRE)
        endloop     
        call PauseUnit(GetTriggerUnit(),false)
        call PauseUnit(GetSpellTargetUnit(),false)
    endif
endfunction
Visit Ozzapoo.net, my blog and the home of AutoCP and Cheatpack Detector!
AutoCP3 now available for free!
User avatar
ZaXTheAlien
Senior Member
Posts: 136
Joined: June 9th, 2007, 11:27 pm
Location: Indonesia

Re: >> JASS/GUI requests/questions in here <<

Post by ZaXTheAlien »

stupid me . . . . i forgot locals . . .
Image
Chinoman10
Member
Posts: 66
Joined: October 18th, 2008, 4:12 pm
Title: Chinoman10 is here:)
Location: Lisbon, Portugal

Re: >> JASS/GUI requests/questions in here <<

Post by Chinoman10 »

Are the cooldowns or build / upgrade time, on the JASS file?
Image
The Holy Happiness that Love gives, will NEVER compensate the Deep Sadness that it will bring in the End...
Made By: Chinoman10
My advice?: If you desire to be truthfully happy, be in Love, but you'll suffer the consequences... If you don't want to suffer, don't Love... ( It's what I wished... )
[blinking]Respect others to be respected![/blinking]
Click on ChinoMon10 to level him up! ;)
Image_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Image
(Yea, I actually decided to try this :P) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Which Final Fantasy Character Are You?
Gwypaas
Junior Member
Posts: 36
Joined: May 13th, 2007, 5:56 pm

Re: >> JASS/GUI requests/questions in here <<

Post by Gwypaas »

I don't think they are so you probably needs to create "types" of what you want so you can associate the times and such to the right unit type.