Hi guys, I've got a couple of questions to ask.
1. How would I make a spell such as Defense Matrix be able to target allies? At the moment it just works on the caster.
2. I've made a couple of items for different units to use. My weapons work perfectly, however my armour is causing me...
Back in WC3 I was working on my first jump ability.
I went into multiplayer on the map with some friends, got to level 6 where the ability was available, ran into combat, cast jump, and my character soars into the sky at a snail's pace, gently lifting itself up into the air at a rate of about...
Hey guys,
I've just recently started having a look at the SC2 editor after playing quite a bit of ladder and a tiny bit of campaign over the last week.
The new data editor, as many of us have noted, is awfully frightening.
Back in WC3, we had an object editor 'guide' which pretty much...
In the Integer A loop in the "Revive Hero Timer" trigger, remove the items from ItemDummy after you give them to the newly created hero.
If you don't do this you'll have a full inventory ItemDummy being given up to six more items...which will cause them to appear on the ground somewhere...
Events
A unit gains a level
Conditions
Level of (Triggering unit) Equal to <the level you want>
Actions
Hero - Modify unspent skill points of hero: Add <number of points>
That's pretty much it.
Just select the trigger and then go Edit > Convert Custom Text. Be careful though as this cannot be undone. If you want a copy of the GUI trigger, copy the trigger first and use the new copy as the JASS version.
Get Endurance Aura, and in the field for attack speed, simply Shift + Double-click it, and set the value to -0.10.
The important part is the Shift + Double-click, which will break the limits on the WE and allow you to go into negative values.
Does the Soldier unit have an inventory?
EDIT: Woops, no. I found the obvious solution.
You've created an infinite loop.
The unit picks up Sniper,
then he is given Sniper again
So the trigger fires off again...
and again...
and again...
And so your game crashes rather than submitting to...
Set DyingUnit[Player number of (Owner of (Triggering unit))] = (Triggering unit)
If you do this, and another hero owned by the same player dies, the variable will be overwritten.
What's more is thati n your example you've used "Triggering player", which is not an integer and therefor...
If all you've done is change it from an Item ability to a Hero ability, you need to add an icon for learning the spell, and also a tooltip for both learning and using the spell.
You want the fields:
Art - Icon - Research
Text - Tooltip - Learn
Text - Tooltip - Learn Extended
Text -...
You can't have more than one of the same base ability on a hero. There isn't any way around it.
use "Channel" as your base ability and changed the Base Order ID if you want to get the targeting image of Flame Strike. Or, if you want more than one FLame Strike ability on the hero, create the...
Rather than using the conditions you're using, I'd use:
"(Picked player) slot status Not equal to Is playing"
That's the one I always use, and it always works, so yeah :P
Also, just use "Remove (Picked unit)" rather than giving it an expiration timer of 0.01 seconds.
Here's a tutorial on the subject, explaining it in a fair amount of depth.
http://world-editor-tutorials.thehelper.net/cat_usersubmit.php?view=68382
You probably won't need ALL that information, but the stuff you need is also there. Check it out!