Miscellaneous

Extra scripts

Short list of additional components that can be reused if there is a need for it.

AutoGroupOnSpawn - Using Groups or Squads

When integrating Unit Selection you can use groups or squads in your project.

Depending on UnitSpawnPoint , this component can create SelectableGroup and attaches or units that were spawned together in a single group. This can be achieved by having production actions produce more than 1 unit quantity at a time.

UnitFormationCleaner

Part of integration of Unit System and Unit Formation.

Attach this component next to your objects with UnitFormation components. This will observe changes on units and make sure to remove the from the list when their owners change.

Either they have been moved to ownership of another player or killed (ownership is cleared before destroying it).

ActivePlacementSelectionToggler

Part of integration with Object Placement and Unit Selection. The component will make sure to keep selection of units disabled while object placement is active. Once placement is finished the selection is enabled back.

Last updated