Files

74 lines
2.8 KiB
Plaintext
Raw Permalink Normal View History

2026-05-03 17:46:36 +10:00
private _layerEntities = getMissionLayerEntities "OBJ-01_Defend Northeast Frontline";
private _objects = _layerEntities select 0;
{
[_x, false] remoteExec ["allowDamage", 0, true];
[_x, false] remoteExec ["enableSimulationGlobal", 0, true];
[_x, true] remoteExec ["hideObjectGlobal", 0, true];
} forEach _objects;
private _layerEntities = getMissionLayerEntities "OBJ-02_Destroy German Armor";
private _objects = _layerEntities select 0;
{
[_x, false] remoteExec ["allowDamage", 0, true];
[_x, false] remoteExec ["enableSimulationGlobal", 0, true];
[_x, true] remoteExec ["hideObjectGlobal", 0, true];
} forEach _objects;
private _layerEntities = getMissionLayerEntities "OBJ-03_Eliminate HVT";
private _objects = _layerEntities select 0;
{
[_x, false] remoteExec ["allowDamage", 0, true];
[_x, false] remoteExec ["enableSimulationGlobal", 0, true];
[_x, true] remoteExec ["hideObjectGlobal", 0, true];
} forEach _objects;
private _layerEntities = getMissionLayerEntities "OBJ-04_Support Retreat";
private _objects = _layerEntities select 0;
{
[_x, false] remoteExec ["allowDamage", 0, true];
[_x, false] remoteExec ["enableSimulationGlobal", 0, true];
[_x, true] remoteExec ["hideObjectGlobal", 0, true];
} forEach _objects;
private _layerEntities = getMissionLayerEntities "OBJ-05_Repel Northwest Breakthrough";
private _objects = _layerEntities select 0;
{
[_x, false] remoteExec ["allowDamage", 0, true];
[_x, false] remoteExec ["enableSimulationGlobal", 0, true];
[_x, true] remoteExec ["hideObjectGlobal", 0, true];
} forEach _objects;
private _layerEntities = getMissionLayerEntities "OBJ-06_Defend North";
private _objects = _layerEntities select 0;
{
[_x, false] remoteExec ["allowDamage", 0, true];
[_x, false] remoteExec ["enableSimulationGlobal", 0, true];
[_x, true] remoteExec ["hideObjectGlobal", 0, true];
} forEach _objects;
private _layerEntities = getMissionLayerEntities "OBJ-07_Repel East Breakthrough";
private _objects = _layerEntities select 0;
{
[_x, false] remoteExec ["allowDamage", 0, true];
[_x, false] remoteExec ["enableSimulationGlobal", 0, true];
[_x, true] remoteExec ["hideObjectGlobal", 0, true];
} forEach _objects;
private _layerEntities = getMissionLayerEntities "OBJ-08_Defend East";
private _objects = _layerEntities select 0;
{
[_x, false] remoteExec ["allowDamage", 0, true];
[_x, false] remoteExec ["enableSimulationGlobal", 0, true];
[_x, true] remoteExec ["hideObjectGlobal", 0, true];
} forEach _objects;
private _layerEntities = getMissionLayerEntities "OBJ-09_DelayArmor";
private _objects = _layerEntities select 0;
{
[_x, false] remoteExec ["allowDamage", 0, true];
[_x, false] remoteExec ["enableSimulationGlobal", 0, true];
[_x, true] remoteExec ["hideObjectGlobal", 0, true];
} forEach _objects;