In EDEN editor:
Place unit for player
Place object, set variable name: objectAlpha
save
place script <sector.sqf> into the mission files
sector.sqf
```
//Create the sector logic
_pos = getPos objectAlpha;
sectorA = (createGroup sideLogic) createUnit ["ModuleSector_F",_pos,[],0,"NONE"];
//Default setting, which are optional
sectorA setVariable ["CostAir","0.1"];
sectorA setVariable ["CostInfantry","0.1"];
sectorA setVariable ["CostPlayers","0.1"];
sectorA setVariable ["CostTracked","0.1"];
sectorA setVariable ["CostWater","0.1"];
sectorA setVariable ["CostWheeled","0.1"];
sectorA setVariable ["DefaultOwner","-1"]; //"-1" = None, "0"= West, "1" = East, "2"= independent
sectorA setVariable ["Designation","A"];
sectorA setVariable ["Name","ALPHA"];
sectorA setVariable ["OnOwnerChange",""];
sectorA setVariable ["OwnerLimit","1"];
sectorA setVariable ["ScoreReward","0"];
sectorA setVariable ["TaskDescription","Capture sector ALPHA"];
sectorA setVariable ["TaskOwner","3"];
sectorA setVariable ["TaskTitle","ALPHA"];
//Set the sides for the sector
sectorA setVariable ["sides",[west, east]];
//Wait until sector is initialised
waitUntil {
!isNil { sectorA getVariable [ "finalized", nil ] } &&
{ !( sectorA getVariable [ "finalized", true ] ) }
};
//A size for the trigger
_trgSize = 50;
//Set the trigger size on the sector
sectorA setVariable [ "size", _trgSize ];
//Make the module update its trigger
[ sectorA, [], true, "area" ] call BIS_fnc_moduleSector;
//Unfortunately the sector has not been written to also update its marker so..
//Get the modules trigger
_trg = ( sectorA getVariable "areas" ) select 0;
//Get the triggers marker
_mrk = ( _trg getVariable "markers" ) select 0;
//Update the markers size
_mrk setMarkerSize [ _trgSize, _trgSize ];
```
script stops at line 26 (//Wait until sector is initialised)