-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements to taskGarrison and taskCamp
Adds garrisoned units that are placed outside will appear to look out from building Improves garrison behaviour when there are no outdoor 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 reseting animations in taskCampReset is much more reliable. Therefore no need to run the function multiple times on all units.
- Loading branch information
Showing
3 changed files
with
41 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters