HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

machinegun type ability?

03-02-2004, 06:38 PM#1
xtacb
how do i make a machinegun type ability? i made a spell based off chainlighting that only hits one target, looks like machinegunattack, sounds like machinegunattack, and has low cooldown.

problem is it only fires once, then i have to click and cast the spell again. how can i make it fire lets say 10 times in a row everytime you cast the spell once? i dont want to make it auto-cast because it would be too powerful

i tried using trigger , if machinegun ability is cast,order unit to cast chain lightning 5 times , but it only cast once

how do i make it semi-automatic?
03-02-2004, 07:07 PM#2
linkmaster23
Couldn't you just make a modifed Bloodlust? Just increase its speed bonus? o_O
03-02-2004, 07:16 PM#3
linkmaster23
Couldn't you just make a modifed Bloodlust? Just increase its speed bonus? o_O
03-02-2004, 07:18 PM#4
RaeVanMorlock
Create a copy of the unit with the ability, but delete his model and give him the Locust ability so he won't show up on the map. Then give him flying movement so he can be placed right on top of the casting unit. Whenever the ability is used, create X number of the copies, position them at the positoin of the casting unit, set their level to the level of the casting unit and the level fo teh ability to the same as the casting unit and order each of them to use the ability on a nearby enemy... then remove them from the game.

A good way to handle that last part is only create them if there is a nearby enemy unit to use the ability on (if there's only 2 units in range, you may not want to create 4 copies). Then do an action to detect when a spell is finished casting, and if the casting unit's type is of the duplicates then remove it... this way you'll be sure that the units are removed after they use their spell.
03-02-2004, 07:28 PM#5
linkmaster23
Couldn't you just make a modifed Bloodlust? Just increase its speed bonus? o_O
03-02-2004, 07:30 PM#6
RaeVanMorlock
Quote:
Originally Posted by linkmaster23
Couldn't you just make a modifed Bloodlust? Just increase its speed bonus? o_O

You really need to stop saying that! If he has it set as a spell, and stated that it should not be autocast, then this machine-gun type ability is obviously something that's not the unit's primary attack.

And stop rippin my red-yellow-green bars!
03-02-2004, 07:36 PM#7
linkmaster23
Couldn't you just make a modifed Bloodlust? Just increase its speed bonus? o_O
03-02-2004, 07:44 PM#8
LegolasArcher
If I was a damn mod I would have deleted all of your posts but the first in this thread, LinkMaster. Stop spamming, he said it can't be autocast, and you've posted the same message 4 times, twice in a row. Thats generally a moddable offence.

Admins Wheres the damned "Report to Moderator" link?
03-02-2004, 07:47 PM#9
linkmaster23
Couldn't you just make a modifed Bloodlust? Just increase its speed bonus? o_O
03-02-2004, 07:48 PM#10
RaeVanMorlock
Quote:
Originally Posted by LegolasArcher
If I was a damn mod I would have deleted all of your posts but the first in this thread, LinkMaster. Stop spamming, he said it can't be autocast, and you've posted the same message 4 times, twice in a row. Thats generally a moddable offence.

Admins Wheres the damned "Report to Moderator" link?

Although I agree, you did the same thing, LegolasArcher http://www.wc3campaigns.com/showthre...307#post471307
03-02-2004, 08:03 PM#11
BattleBotv8.2
I rushed this and didnt test it but it should work.