If you were logged in you would gain 3 XP for posting a reply.
You are replying to:
NOW THIS IS EXCITING I am not doing a multi instance code here, so this codings wont work in wtf mode but will work in normal modes
we will nid too 2 triggers
Trigger1 event: unit starts the effect of an ability condition: ability casted = chronosphere action: set cpoint = target point of ability being cast set ccaster = casting unit create 1 chro at position of cpoint set chr = last created unit turn on Trigger2 wait for 3 seconds [can be adjusted] turn off Trigger2 remove chro from the game pick every unit matching condition within 400 range of cpoint, is enemy, is alive unpause picked unit set animation speed of picked unit to 100%
Trigger2 event: every 0.1 seconds of the game cond: action pick every unit matching condition within 400 range of cpoint, is enemy, is alive pause picked unit set animation speed to 0%
Simple! If there is hook and such triggers that might interupt it, the code might become bugged so... good luck fixing, too lazy to state the fixing out ;)
NOW THIS IS EXCITING
I am not doing a multi instance code here, so this codings wont work in wtf mode but will work in normal modes
we will nid too 2 triggers
Trigger1
event: unit starts the effect of an ability
condition: ability casted = chronosphere
action:
set cpoint = target point of ability being cast
set ccaster = casting unit
create 1 chro at position of cpoint
set chr = last created unit
turn on Trigger2
wait for 3 seconds [can be adjusted]
turn off Trigger2
remove chro from the game
pick every unit matching condition within 400 range of cpoint, is enemy, is alive
unpause picked unit
set animation speed of picked unit to 100%
Trigger2
event: every 0.1 seconds of the game
cond:
action
pick every unit matching condition within 400 range of cpoint, is enemy, is alive
pause picked unit
set animation speed to 0%
Simple! If there is hook and such triggers that might interupt it, the code might become bugged so... good luck fixing, too lazy to state the fixing out ;)