• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[Solved] 2 Questions

Status
Not open for further replies.
Level 3
Joined
Jul 28, 2014
Messages
28
1. Giving a unit the auto attack ability annhilation. Want to give it the lightning attack animation. If I add Lightning attack string to the Lightning Effects art it doesn't work. However when I give the unit itself lightning attack the animation will show.

2. How do I organize custom unit's in the Object editor, say by name and such?
 
1. I tried copying everything from lightning attack and pasting it into the annhilation ability and it still does show. The art target, missle animation, and lightning attack. Art target shows

2. Thanks
 
1. Giving a unit the auto attack ability annhilation. Want to give it the lightning attack animation. If I add Lightning attack string to the Lightning Effects art it doesn't work. However when I give the unit itself lightning attack the animation will show.
The 'Art - Lightning Effects' field does not work in abilities that normally don't have any lightning effects, so you can't have the lightning effect without the 'Lightning Attack' ability (unless you trigger it).
2. How do I organize custom unit's in the Object editor, say by name and such?
Open the Object Editor, click 'View' and make sure that 'Sort Objects By Name' is checked.
For my maps, I'm naming my units like "000a - Footman", "000b- Rifleman" etc, the editor name never shows ingame so you can use a prefix to list them alphabetically.
What do you mean? If the unit can be selected during the game (i.e. it's not a dummy unit), the name will obviously be shown. Are you talking about 'Text - Name - Editor Suffix ' or do you mean you later rename the units with triggers or something?
 
Hey sorry for reviving this but how do you give +rep and mark as solved lol?

Btw if anyones curious, I did

Event:
unit is attacked
Cond:
-(unit type of (attacking unit)) = to blah
-Mana of (attacking unit) > 75
-Custom Value of attacking unit = 1
action:
-Issue order targeting unit, (attacking unit) chain lightning (attacked unit)

Then I gave the unit the defend ability to use as a toggle.

Event:
Unit issued order with no target.
Cond:
-(Triggering unit) = blah
-Order string (defend)
action:
-set custom value of triggering unit to 1

Event:
-Unit issued order with no target.
Cond:
-(Triggering unit) = blah
-Order string (undefend)
action:
-set custom value of triggering unit to 0
 
Just know that each unit can only have one custom value, so if you need to use CV for something else on a unit that can use this chain lightning attack you're just shit out of luck and will need a unit indexer. Also "a unit is attacked" is an abuseable event trigger: you can repeatedly fire the event by ordering a unit to attack another and pressing S to stop in rapid succession.

Click the green + in a box right below anyone's name/avatar to give them rep. If you're on mobile you'll have to rotate to portrait mode for the + button to appear. You might be able to mark the thread "solved" by editing your first post, unsure about that.
 
Oh, does that mean it can lag the game if I have many triggers with event's, unit is attacked? I guess the spell is on cooldown and there's a mana condition.
 
Status
Not open for further replies.
Back
Top