Page MenuHomeFeedback Tracker

createUnit "FORM" placement type does not work as expected
New, NormalPublic

Description

The createUnit command, in its main syntax, has a placement type parameter that controls the placement behaviour of the new unit. One of the valid types is "FORM", which is supposed to place the unit according to the group formation. However, "FORM" currently just behaves like "NONE".

The "FORM" placement type should be fixed to place the new unit in formation.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce

Place a playable unit and start the mission.
In the debug console, execute:

for "_i" from 1 to 10 do {
	private _unit = group player createUnit ["B_RangeMaster_F", group player, [], 0, "FORM"];
	_unit disableAI "ALL";
};

Observe the placement pattern being all around the player and not according to their group formation.

Restart the mission, and do the same but replace "FORM" with "NONE". Note that the placement pattern is the same.

Event Timeline

NikkoJT created this task.Apr 21 2024, 6:32 PM
dedmen added a subscriber: dedmen.Apr 24 2024, 10:45 AM

There are Todo's in code in multiple places saying that Form needs to be handled.
This feature was never actually implemented. Its unlikely that it will.