I'm making a spell where a unit fires off a shockwave when it deals damage. The dummy is created, but no shockwave fires.
ShockwaveTotem2
Events
Game - GDD_Event becomes Equal to 0.00
Conditions
(Level of Shockwave Totem Periodic for GDD_DamageSource) Greater than 0...
I've searched online pretty extensively, gone through the mpq .txt files, and facerolled the keyboard, and I still can't find a way to make my active items use letter hotkeys for my map.
As it is now, active items use the numpad hotkeys, and I want a way so that they use a letter (ideally...
I'm using the Neutral Building - Add (Unit-Type) to <Marketplace>
Here's one of the triggers:
EnableMercenary
Events
Unit - A unit Acquires an item
Conditions
(Item-class of (Item being manipulated)) Equal to Purchasable
Actions
Set tmpInt = (Item level of...
When I complete an upgrade, the game gives me a fatal error. The upgrade's only effect is the "ability level bonus" effect, and there's only a fatal error if a unit who benefits from the upgrade has died very recently (their corpse is still there). I tried removing the corpse from the unit...
Every time I click on a value in the object editor (for example, to change the icon, or a tooltip, or the damage that a spell does), my computer lets out a loud beep. If I use the arrow keys to scroll through a whole bunch of fields, it lets out a long continuous beep. Has this ever happened...
Is there a way to make an area circle target a unit?
I know that dark summoning allows it, but you can't target yourself and it doesn't recognize "target unit of ability being cast". Also, there's quite a bit of extra area that you can target around the unit.
Is there another ability like...
Is there any way to create a specific terrain without having it pre-placed on the map (thus created entirely through triggers)? Like somehow put the coordinates of every tree on the map in to the trigger editor without doing every one manually?
I'm actually not worried about the terrain so much...
I have a spell based off of a targeting-image channel, it has 200 radius (I didn't forget to punch in an area of effect).
Sometimes when I cast it near me, it shows my animation and the spell glows green, but the cooldown doesn't fire, and it continues to glow green after I stop casting. If...
I was using Ghan's terrain generator system, and it stopped working. Or rather, it was creating random terrain when I wanted it to be specific. It's probably because I wanted more than five terrain types. If so, is there any way to override it?
By the way, the sunken ruins works and felwood...
I have permanent immolation as a hero skill, but it deals the level 1 damage at all levels. The tooltip works each level, and I think that the AoE improves as well. Does anyone know if this is hardcoded in to the spell, or...? o.O
How do you pick the closest X units to the caster? Like the nearest 3?
In other words, with a trigger, I'd like to be able to get the three closest units to a point, and do something to them.
Relatively resolved.
So.
I saw kingbdogz' thread had a lot of requests stacked up, so I thought I would take requests as well to lighten the load.
Just kidding, I lied.
I actually just want to practice making icons - I'm getting a bit better.
This thread has been viewed more times than "How not to write a thread...
I've never imported a jass trigger in to my map before. But I was looking at Acehart's tree-regrow trigger, and it looked really neat, so I thought, why not?
I copied it and pasted it in to a blank trigger, but when I tried to save, it gave me a laundry list of errors. What went wrong...
There is a way so that a unit can sell an item. The sold item drops on the floor.
Restated, under "Techtree - Items sold" field, it can sell items to other units.
-->Is there any way to detect when an item is sold in this fashion? It does not have the Select Hero ability, by the way.
Is there any way so that your units don't run away when they're hit?
I have a game where the units have no attack and only use spells, but I want to make it so that when they're hit, they stand their ground and don't run the other way.
Is there a custom script (or two) that slide a unit according to it's facing angle and its custom value?
If I had to guess, it would be getting the cosine and sine of the angle * the custom value of the unit, and setting it to the unit's X and Y, but I don't know how to write that in jass...