So I'm using flash freeze in one of my maps from the HoTS snow campaign map. It freezes units in place and they all forget their orders when frozen. For the most part this is fine except for harvesting drones. I tried saving the drones order to a data table (like a variable) and this works for the majority of the drones, but they'll still be about 1 in 5 that will just sit around doing nothing after the flash freeze is over. I saved the order at index 0 which works for most drones as I said. Then I also tried saving the index 1 order as well and issue it to any remaining idle drones after the 0 index saved order was given (which I don't think helps additionally at all).
Any thoughts as to why most drones are working and some aren't?
Are the ones that forget their orders harvesting, or building , or just a random mix? What are you using for your data table storage name? You're sure you save all orders before a freeze?
Use "Stun" behavior flag to disable units for the freeze. This will just cause the units to wait until the behavior ends, before resuming their orders as normal.
Use "Stun" behavior flag to disable units for the freeze. This will just cause the units to wait until the behavior ends, before resuming their orders as normal.
did this change with the patch? my workaround always was to disable attack and set movement speed to 0.01. so all units keep their orders.
Nope. I've been using "Stun" flags as a way to halt a unit without interrupting it's orders for about a year now. It's very good for forcing the unit to wait during animations without getting in the way of gameplay!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
So I'm using flash freeze in one of my maps from the HoTS snow campaign map. It freezes units in place and they all forget their orders when frozen. For the most part this is fine except for harvesting drones. I tried saving the drones order to a data table (like a variable) and this works for the majority of the drones, but they'll still be about 1 in 5 that will just sit around doing nothing after the flash freeze is over. I saved the order at index 0 which works for most drones as I said. Then I also tried saving the index 1 order as well and issue it to any remaining idle drones after the 0 index saved order was given (which I don't think helps additionally at all).
Any thoughts as to why most drones are working and some aren't?
Are the ones that forget their orders harvesting, or building , or just a random mix? What are you using for your data table storage name? You're sure you save all orders before a freeze?
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
Use "Stun" behavior flag to disable units for the freeze. This will just cause the units to wait until the behavior ends, before resuming their orders as normal.
@willuwontu: Go
Harvesting. I'm using unit tags as names (plus a combo when I tested out the second one (storing index 1))
@TyaArcade: Go
Thanks ,I'll give it a try.
did this change with the patch? my workaround always was to disable attack and set movement speed to 0.01. so all units keep their orders.
Nope. I've been using "Stun" flags as a way to halt a unit without interrupting it's orders for about a year now. It's very good for forcing the unit to wait during animations without getting in the way of gameplay!