Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.47

Description

Description:

Controls the behavior of AI units, when nearby other units.

Note: The command is CPU intensive, and should only be used in limited circumstances.

Syntax

Syntax:unit setColliderForced collide
Parameters:
  • unit: Object - AI unit.
  • collide: Boolean - If true, then unit tries to not overlap with a neighboring unit (if space allows). If set to false, then units may end up overlapping.
Return Value:Nothing

Examples

Examples:
soldier1 setColliderForced true

Additional Information

See also: setSlideOnPush
Multiplayer:
Problems:

Notes