HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Issue Order X (Spell) Doesn't Resume Orders After Cast

11-03-2009, 03:33 PM#1
Cetacean
Hello wc3c!

As I've never posted here before, let me just start by say how much I admire the scripting & modeling prowess demonstrated by you folks. The forums have been an invaluable resource to me over the past few weeks.

So now on to my question; I've encountered a thorny problem with the Issue Order X triggers not quite duplicating manual inputs in the way I would have thought. Basically, when a unit already in motion is issued a spell command by trigger, it doesn't resume it's travel the way it normally would, upon completion of the cast. You can check this with a two-line trigger:

Trigger:
Player - Player 1 (Red) skips a cinematic sequence
Unit - Order Troll Berserker 0000 <gen> to Orc Troll Berserker - Berserk

Is there any sort of simple solution that would allow this trigger to duplicate manual input functionality? I've thought about some workarounds such as combining Rising_Dusk's very cool last order library with combat flag checking (in case the unit has wandered off to acquire a target), but that seems like an awful lot of code and overhead to accomplish something so simple. I'm hoping someone here can offer a more elegant solution.
11-03-2009, 06:21 PM#2
Rising_Dusk
Read and be enlightened.