Task Framework Compositions
From Arma Projects
For every task, included in the object spawner, is the ability to load 3DEN object compositions into the mission dynamically. These will be automatically cleaned up during the task clean up phase. There is no limit per task on how many compositions can be spawned and the parameters support dynamic placement around a central reference position. If no position is given, the 3DEN composition recorded position is used as this allows precise replication of compositions where they were recorded.
The 3DEN compositions are stored in the core framework under CfgMissionCompositions
class My_Task_1 {
class Compositions {
class 3DEN_composition_1 { <parameters> };
class 3DEN_composition_2 { <parameters> };
class 3DEN_...
};
};
| Configuration Parameters |
|---|
1 - typeIDs <array>
|
| 2 - (optional) position <array/string> if missing position, 3DEN composition recorded position is used. |
| 3 - (optional) distance <array/number> |
| 4 - (optional) direction <array/number> |
| 5 - (optional) angle <array/number> |
6 - (optional) faction <string>
|
7 - (optional) groupTypes <array>
|
8 - (optional) downloadIntel <decimal> 0 to 1
|
- Example of a composition
class My_Task_1 {
class Compositions {
class 3DEN_composition_1 {
typeIDs[] = {"3DEN_1","3DEN_2"};
position = "positionOffset";
distance[] = {10,50};
direction[] = {-350,25};
angle[] = {-327,80};
faction = "Blu_F";
groupTypes[] = {"Squad8","Squad4"};
downloadIntel = 0.8;
};
};
};