- Joined
- Aug 25, 2004
- Messages
- 473
spend more then 3 hours making such trigger in GUI and all i could come up with was givind a unit an aura and if under the effect of the buff the unit will be randomly pushed to a side. But that would include that i have to check every 0.5 sec of the gametime if any of ALL units in playable map area has a sertain buff. And that could cause some lagg, even without memory leaks, when combined with other time triggers.
So i wonder if there anyone who could help me making such a trigger in JASS.
(the problem in gui is that it doesnt see custom variables in EVENT editor)
Should look something like this:
If a unit, classification mechanicle come in range 100 of an other organicle (not a building, not mechanicle) unit and the triggering unit speed current is higher than 200 then take that victem, take 20 damage, play death animation, make victem face the mech unit and Move the victem instantly of its position offset by 9.00 towards Facing itself - 180.00 degrees (move it few times to create a kickback effect)
So that is about it, it would realy mean world to me if someone helps
So i wonder if there anyone who could help me making such a trigger in JASS.
(the problem in gui is that it doesnt see custom variables in EVENT editor)
Should look something like this:
If a unit, classification mechanicle come in range 100 of an other organicle (not a building, not mechanicle) unit and the triggering unit speed current is higher than 200 then take that victem, take 20 damage, play death animation, make victem face the mech unit and Move the victem instantly of its position offset by 9.00 towards Facing itself - 180.00 degrees (move it few times to create a kickback effect)
So that is about it, it would realy mean world to me if someone helps