Clan TMMM
Would you like to react to this message? Create an account in a few clicks or log in to continue.


The official site of Clan TMMM
 
HomeHomeSearchLatest imagesRegisterLog in


Latest topics
» Kevkevqaz is back
Demon Hunter Locust I_icon_minitimeby Eat_bacon_daily Wed Feb 22, 2023 7:22 pm

» Hey whats up
Demon Hunter Locust I_icon_minitimeby seankly Tue Feb 04, 2020 10:32 pm

» Gotta click fast - WC3 Mazing #mildlyinteresting
Demon Hunter Locust I_icon_minitimeby hoffmann Wed Jun 21, 2017 10:28 pm

» I'm getting married and you guys are invited
Demon Hunter Locust I_icon_minitimeby Achilles.42 Wed Sep 07, 2016 11:00 am

» Server Photo Album 1
Demon Hunter Locust I_icon_minitimeby Pat1487 Sat Aug 06, 2016 5:28 pm

» Legacy of The Void Beta
Demon Hunter Locust I_icon_minitimeby Achilles.42 Sun Oct 18, 2015 3:21 am

» Hey guys!!!
Demon Hunter Locust I_icon_minitimeby Eat_bacon_daily Fri Oct 16, 2015 11:20 pm

SC2 Links
SC2 Challenge/Tourney Info

Official SC2 Forums

SC2 Curse

SC2Mapster

Team Liquid

SC2 Replayed

SC2 Strategy
WC3 Links
Clan_TMMM[Host] Info

WC3 Challenge/Tourny Rules

Epicwar
Poll
What game does everyone play now?
Starcraft 2
Demon Hunter Locust I_vote_lcap26%Demon Hunter Locust I_vote_rcap
 26% [ 8 ]
Warcraft 3
Demon Hunter Locust I_vote_lcap35%Demon Hunter Locust I_vote_rcap
 35% [ 11 ]
League of Legends
Demon Hunter Locust I_vote_lcap19%Demon Hunter Locust I_vote_rcap
 19% [ 6 ]
World of Warcraft
Demon Hunter Locust I_vote_lcap0%Demon Hunter Locust I_vote_rcap
 0% [ 0 ]
Diablo 2
Demon Hunter Locust I_vote_lcap0%Demon Hunter Locust I_vote_rcap
 0% [ 0 ]
No games at all
Demon Hunter Locust I_vote_lcap10%Demon Hunter Locust I_vote_rcap
 10% [ 3 ]
Other game not listed
Demon Hunter Locust I_vote_lcap10%Demon Hunter Locust I_vote_rcap
 10% [ 3 ]
Total Votes : 31
Transparency

 

 Demon Hunter Locust

Go down 
+3
Pat1487
Kallock
X.x-Cadu-x.X
7 posters
AuthorMessage
X.x-Cadu-x.X
Recruit
Recruit




Demon Hunter Locust Empty
PostSubject: Demon Hunter Locust   Demon Hunter Locust I_icon_minitimeSat Oct 03, 2009 2:08 pm

Tigger name is: DemonHunterLocust

Code:

function DemonHunterLocust takes nothing returns nothing
    local integer i = 0
    loop
        exitwhen (i>11)
        call UnitAddAbility(udg_DemonHuntersLocust[i], 'Aloc')
        call ShowUnit(udg_DemonHuntersLocust[i], false)
        call ShowUnit(udg_DemonHuntersLocust[i], true)
        call UnitRemoveAbility(udg_DemonHuntersLocust[i], 'Aloc')
        call SetUnitInvulnerable(udg_DemonHuntersLocust[i], false)
        set i=i+1
    endloop
endfunction

//===========================================================================
function InitTrig_DemonHunterLocust takes nothing returns nothing
    set gg_trg_DemonHunterLocust = CreateTrigger(  )
    call TriggerRegisterTimerEvent(gg_trg_DemonHunterLocust, 0.05, false)
    call TriggerAddAction( gg_trg_DemonHunterLocust, function DemonHunterLocust )
endfunction

Add one Variables name: DemonHuntersLocust Unit Array (Number[Your number of Hero]).
Code:

Set unit
    Events
        Map initialization
    Conditions
    Actions
        Set DemonHuntersLocust[1] = Demon Hunter 0000 <gen>
        Set DemonHuntersLocust[2] = Demon Hunter 0001 <gen>
        Set DemonHuntersLocust[3] = Demon Hunter 0002 <gen>
        Set DemonHuntersLocust[4] = Demon Hunter 0003 <gen>
        Set DemonHuntersLocust[5] = Demon Hunter 0004 <gen>
        Set DemonHuntersLocust[6] = Demon Hunter 0005 <gen>
        Set DemonHuntersLocust[7] = Demon Hunter 0006 <gen>
        Set DemonHuntersLocust[8] = Demon Hunter 0007 <gen>
        Set DemonHuntersLocust[9] = Demon Hunter 0008 <gen>
        Set DemonHuntersLocust[10] = Demon Hunter 0009 <gen>


Last edited by X.x-Cadu-x.X on Sat Oct 03, 2009 2:29 pm; edited 1 time in total
Back to top Go down
Kallock
Sergeant
Sergeant
Kallock



Demon Hunter Locust Empty
PostSubject: Re: Demon Hunter Locust   Demon Hunter Locust I_icon_minitimeSat Oct 03, 2009 2:10 pm

good job
Back to top Go down
Pat1487
Moderator
Moderator
Pat1487



Demon Hunter Locust Empty
PostSubject: Re: Demon Hunter Locust   Demon Hunter Locust I_icon_minitimeSat Oct 03, 2009 2:22 pm

You used the wrong array in one of the triggers

In the first trigger you use an array called DemonHunters[]
In the second trigger you set all the demon hunters to the array called DemonHuntersLocust[]

The names of the arrays have to match in order for this to work

It doesnt matter which one of the triggers you change as long as the name matches, but as an example ill change the 2nd trigger so that it would work:

Code:
Set unit
    Events
        Map initialization
    Conditions
    Actions
        Set DemonHunters[1] = Demon Hunter 0000 <gen>
        Set DemonHunters[2] = Demon Hunter 0001 <gen>
        Set DemonHunters[3] = Demon Hunter 0002 <gen>
        Set DemonHunters[4] = Demon Hunter 0003 <gen>
        Set DemonHunters[5] = Demon Hunter 0004 <gen>
        Set DemonHunters[6] = Demon Hunter 0005 <gen>
        Set DemonHunters[7] = Demon Hunter 0006 <gen>
        Set DemonHunters[8] = Demon Hunter 0007 <gen>
        Set DemonHunters[9] = Demon Hunter 0008 <gen>
        Set DemonHunters[10] = Demon Hunter 0009 <gen>

But good job on getting the locust part right
Its been awhile since ive done it, but i dont think you have to remove invulnerability after you remove locust, so you could take out the invulnerability line and it would still work
Back to top Go down
X.x-Cadu-x.X
Recruit
Recruit




Demon Hunter Locust Empty
PostSubject: Re: Demon Hunter Locust   Demon Hunter Locust I_icon_minitimeSat Oct 03, 2009 2:31 pm

Oops, I never saw Smile
Back to top Go down
FaMoUs
Recruit
Recruit




Demon Hunter Locust Empty
PostSubject: Re: Demon Hunter Locust   Demon Hunter Locust I_icon_minitimeMon Oct 05, 2009 3:45 pm

Don't you think it will be a lot easier like this?
Demon Hunter Locust 15y9475
Back to top Go down
Pat1487
Moderator
Moderator
Pat1487



Demon Hunter Locust Empty
PostSubject: Re: Demon Hunter Locust   Demon Hunter Locust I_icon_minitimeMon Oct 05, 2009 5:03 pm

Yeah its easier, but cadu is...
Well hes cadu lol

I didnt want to change what he had like that

Also having an array of the mazing units makes it easier for certain things, so i normally make an array out of them anyway
Back to top Go down
FaMoUs
Recruit
Recruit




Demon Hunter Locust Empty
PostSubject: Re: Demon Hunter Locust   Demon Hunter Locust I_icon_minitimeMon Oct 05, 2009 6:32 pm

Oh yea, that is true my bad Cadu and Pat. But yea i was only trying to help. Shocked
Back to top Go down
Pat1487
Moderator
Moderator
Pat1487



Demon Hunter Locust Empty
PostSubject: Re: Demon Hunter Locust   Demon Hunter Locust I_icon_minitimeMon Oct 05, 2009 9:06 pm

Dont apologize or think i didnt want your help or anything
Im glad you posted it cause now it shows people how to do it an easier way

You have to know cadu to get what i meant lol
Back to top Go down
Achilles.42
Commander
Commander
Achilles.42



Demon Hunter Locust Empty
PostSubject: Re: Demon Hunter Locust   Demon Hunter Locust I_icon_minitimeMon Oct 05, 2009 10:15 pm

cadu is special, spelled spethil
Back to top Go down
ShiFteh
Recruit
Recruit




Demon Hunter Locust Empty
PostSubject: Re: Demon Hunter Locust   Demon Hunter Locust I_icon_minitimeMon Jun 20, 2011 9:57 am

FaMoUs, I tried your locust trigger on the patrols and Demon Hunters and it worked perfectly. The only problem is that the locust only works on TFT, not RoC. What I mean is that, the maze works on TFT and RoC, but on RoC, the locust doesn't work. I already converted the trigger into custom text, but it still didn't work. Any ideas? I could give a link to the map if you want.

Back to top Go down
RKR.
Recruit
Recruit
RKR.



Demon Hunter Locust Empty
PostSubject: Re: Demon Hunter Locust   Demon Hunter Locust I_icon_minitimeMon Jun 20, 2011 10:13 am

ShiFteh wrote:
FaMoUs, I tried your locust trigger on the patrols and Demon Hunters and it worked perfectly. The only problem is that the locust only works on TFT, not RoC. What I mean is that, the maze works on TFT and RoC, but on RoC, the locust doesn't work. I already converted the trigger into custom text, but it still didn't work. Any ideas? I could give a link to the map if you want.


Just Import abilitydata ! http://tinyurl.com/3c4qe5u

DON'T FORGET ! TO RENAME THE PATH TO : Units\AbilityData.slk

Laughing king
Back to top Go down
ShiFteh
Recruit
Recruit




Demon Hunter Locust Empty
PostSubject: Re: Demon Hunter Locust   Demon Hunter Locust I_icon_minitimeMon Jun 20, 2011 1:10 pm

OMG Thanks dude! It worked! Now that the problem is done, I can finally release the maze on epicwar.com.

Here's the link if you wanna try it: http://www.epicwar.com/maps/175419/

Again, thank you so much!
Back to top Go down
Sponsored content





Demon Hunter Locust Empty
PostSubject: Re: Demon Hunter Locust   Demon Hunter Locust I_icon_minitime

Back to top Go down
 
Demon Hunter Locust
Back to top 
Page 1 of 1
 Similar topics
-
» demon hunter texture!@!
» Locust Help
» Locust
» Locust in RoC ?
» Help Me With Locust !

Permissions in this forum:You cannot reply to topics in this forum
Clan TMMM :: Warcraft 3 :: WC3 Tutorials and Help-
Jump to: