Ashlebede
New Member
- Reaction score
- 43
What he meant is, say you have different default vertex coloring values in the Object Editor for every unit... you can't just "reset" it, you'd have to hardcode it.
Make a dummy unit with an instant attack, no backswing and no turn rate. Give this unit Cold Arrows and make it attack the target once. This is the only way to get the cold effect on a unit with customizable values and the cold vertex coloring.
The alternate solution is to trigger the cold effect by altering the unit's vertex coloring, but this will also interfere with existing vertex colors and should only be used if cold is the only form of vertex coloring in your map.
Set the attack cooldown to be larger than the dummy unit's expiration timer in order to prevent it from landing more than one attack. To make the dummy unit cause no damage with the attack (0-0 attack damage), the following fields must be set like this:If I do this, what stops the dummy from attacking numerous times? Should I add the worker classification? Would there be a way to make the dummy unit deal zero damage, or would I have to block it?
Make sure that the dummy unit has 0 movement speed, so that it turns instantly like a tower.
Nevermind that, 0 missile speed will also make the attack instant. However, set the movement speed to 0, the delay comes from the unit turning to attack. Without movement speed, it will act like a tower.
I've been doing some testing and the largest delay I get between creation and the damage event is 0.115 seconds. How much of a delay are you getting?
Sure.There's at least a one second delay between the actual missile hitting, and the ice arrow hitting. Could you post what you have?