Adds garrisoned units that are placed outside will appear to look out from building
Improves garrison behaviour when there are no indoor locations (fixes issue #413)
Fixes units being teleported to building positions located in air
Fixes taskCamp units sometimes throwing double animation resets
Fixes taskCamp units failing to reset animations
--
Prefers using setVehiclePosition rather than setPos when placing units. While more expensive, taskGarrison and taskCamp are not run frequently. This neatly fixes many issues where units were spawned in the air (and fell to their deaths!)
With the new and improved eventhandlers makes resetting animations in taskCampReset is much more reliable. Therefore no need to run the function multiple times on all units.
Adds garrisoned units that are placed outside will appear to look out from building Improves garrison behaviour when there are no indoor locations (fixes issue #413) Fixes units being teleported to building positions located in air Fixes taskCamp units sometimes throwing double animation resets Fixes taskCamp units failing to reset animations
-- Prefers using setVehiclePosition rather than setPos when placing units. While more expensive, taskGarrison and taskCamp are not run frequently. This neatly fixes many issues where units were spawned in the air (and fell to their deaths!)
With the new and improved eventhandlers makes resetting animations in taskCampReset is much more reliable. Therefore no need to run the function multiple times on all units.