I made a unit have no collision, and position him inside another unit every 0.03 seconds. However the other unit freaks out like he can't move around him so its impossible to control him. Is there some kind of no collision ability I could give the unit that would work better than the 'no...
I was able to solve my damage and health adding problem by using 8 items and item abilities each and a binary trigger system in GUI.
I have an array of item types for damage and health.
So to add 150 damage or health, it would add the +128 damage/health tome, then the +16 damage/health tome...
The "smart" order works great for right clicking, but auto acquiring doesn't seem to work. I would use "targeted unit" and "triggering" unit right?
Edit: Woops, my Actions code was still trying to use "ordered unit" so it wasn't working for all the conditions.
Thanks!
EVENT*
I'd like a trigger to go off when a unit even thinks about attacking something from anywhere on the map. It could be right clicking on somebody, or auto-acquiring somebody, or ordering to attack somebody.
So far all I can catch is literally issuing an attack order.
I'm going off of this code, which works for health and mana:
http://www.thehelper.net/forums/showthread.php?t=81466
I already tried not removing it, and it still doesn't work.
I'm trying to set the damage of a unit with triggers.
I have an ability based off of Item Permanent Damage Increase set to a unit ability with 80 levels (I know its a lot). I add it to a unit, set the level, then remove it. It doesn't change the damage of the unit at all. Same goes for health...
I'm using this same method to set damage and health for a unit. Why does it not do anything? Is there some catch I don't know that makes these triggers fail?
I have an ability based off of Item Permanent Damage Increase. I add it to a unit, set the level, then remove it. It doesn't change the...
I just need someway for a hero to "create" items for himself. But I'd rather not do this with triggers. I want to use wc3's built in gold system if possible.
If a unit has an orb, it doesn't work unless the unit is specifically ordered to attack. Can this be fixed? I want towers in a tower defense type game to have abilities using orbs so they cast on every attack, BUT the orb doesn't work on auto attacks.
The most obvious way I could think of doing a simple shotgun spell would be split shot. But as far as I know, you can't limit this to a cone. I thought of giving the unit an orb effect to cast carrion swarm or breath of fire every attack, but then the damage isn't based off his attack. I tried...