Formation Position
PureFormationPositionCalculates a unit's position in a formation (Circle, Line, Wedge, Column, Staggered).
Type: Pure (no side effects)
Category: Fortuna|Gameplay Utilities
Keywords: gameplay utilities
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| LeaderPosition | FVector | — | LeaderPosition parameter |
| LeaderForward | FVector | — | LeaderForward parameter |
| UnitIndex | int | — | UnitIndex parameter |
| FormationType | EFBT_FormationType | — | FormationType parameter |
| Spacing | float | 200 | Spacing parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | FVector | ReturnValue output |
Example Use Cases
Example 1
Position squad members in a V-formation behind the player.
Example 2
Arrange guards in a circle around a VIP.