| 04-06-2010, 01:51 AM | #1 |
I guess i've been keeping the triggers forum busy lately but i have a new spell i've been working on that gets glitchy. I have attempted to make a time stop spell where i use purge to stop the unit initially but i want the caster to be paused for a brief duration too (3 seconds). my trigger is as follows Trigger: Time Stop
Trigger: The problem is is that when the unit becomes paused he doesn't unpause despite the timer expiring. What i do notice is that his command bars flash in and out every 3 seconds so it seems like it keeps resetting itself or something. |
| 04-06-2010, 02:04 AM | #2 |
Why can't you just use a single-target stun? Pause is wacky because if the unit dies while paused it won't show it's death animation until after the unit is unpaused. There may be some other side-effects. |
| 04-06-2010, 02:51 AM | #3 |
i just went back and edited the casting time in unit editor hehe i guess that's even better. |
| 04-07-2010, 03:57 AM | #4 |
You can always just use a trigger that responds to unit death, and do PauseUnit(GetTriggerUnit(), false) to make sure these kind of graphic glitches don't occur. Whenever I use PauseUnit personally I like to make sure that there is a method included of being sure the unit becomes unpaused if necessary. Also, be sure to freeze the animation speed of the unit so it looks authentic :P |
| 04-07-2010, 04:19 AM | #5 |
what do you mean? |
| 04-07-2010, 09:41 AM | #6 |
Trigger: Unit - A unit Begins channeling an abilityshould be Trigger: Unit - A unit starts the effect of an abilityThis is prob why your unit was getting paused every 3 seconds due to him still goin on with his channel after the unpause and thus triggering the spell again. |
| 04-07-2010, 01:27 PM | #7 |
If I remember correct, setting a unit's time scale (butchered as "animation speed" in GUI) to 0 will pause it with fewer side effects? |
| 04-07-2010, 03:12 PM | #8 |
Animation Speed is purely visual without any effect on gameplay. Pausing the unit makes it remember the last given order, so you cast the spell, pause the unit, unpause it, it immediately casts the spell again. |
| 04-07-2010, 08:30 PM | #9 |
cool thanks all. i'll give it a shot. |
| 04-08-2010, 03:03 AM | #10 |
I was only recommending it so the unit doesn't wave its arms and crap when it should be "frozen in time". |
| 04-09-2010, 05:32 AM | #11 | ||
Quote:
or maybe u wanna give a try to Unit - Finishes casting an ability Quote:
|
| 04-11-2010, 04:08 PM | #12 | ||
Quote:
Quote:
|
