I made an attack system, is it in MUI? or just simple GUI?
I know how to make the trigger leakless but i dunno in this player number
--can someone edit this trigger? and post it here?
--known error on this:
*when i attack, the hero stops and after attacking goes away from enemy
I know how to make the trigger leakless but i dunno in this player number
--can someone edit this trigger? and post it here?
--known error on this:
*when i attack, the hero stops and after attacking goes away from enemy
-
Attack
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Attack
-
-
Actions
-
Set AttackLoc[(Player number of (Triggering player))] = (Position of (Triggering unit))
-
Set AttackGroup[(Player number of (Triggering player))] = (Units within 250.00 of AttackLoc[(Player number of (Triggering player))])
-
Unit - Order (Casting unit) to Stop
-
Animation - Play (Triggering unit)'s attack animation
-
Unit Group - Pick every unit in AttackGroup[(Player number of (Triggering player))] and do (Actions)
-
Loop - Actions
-
Unit - Cause (Triggering unit) to damage (Picked unit), dealing 5.00 damage of attack type Normal and damage type Normal
-
-
-
Custom script: call RemoveLocation(what will i put here?)
-
Custom script: call RemoveGroup?(what will i put here?)
-
-
Last edited: