Page MenuHomeFeedback Tracker
Feed Advanced Search

Dec 7 2018

ivosh_cz added a comment to T134636: Creating sector module by script doesnt work after update 1.86.

Solved:
Place any object in the editor. Set variable name to: objectAlpha
Run script

_pos = getPos objectAlpha;	
"ModuleSector_F" createUnit [_pos,createGroup sideLogic,format
	["
		sectorA=this; //to set variable name
		this setvariable ['BIS_fnc_initModules_disableAutoActivation',false];
		this setVariable ['name','ALPHA'];
		this setVariable ['Designation','A'];
		this setVariable ['OwnerLimit','1'];
		this setVariable ['OnOwnerChange',''];
		this setVariable ['CaptureCoef','0.05']; 	
		this setVariable ['CostInfantry','0.2'];
		this setVariable ['CostWheeled','0.2'];
		this setVariable ['CostTracked','0.2'];
		this setVariable ['CostWater','0.2'];
		this setVariable ['CostAir','0.2'];
		this setVariable ['CostPlayers','0.2'];
		this setVariable ['DefaultOwner','-1'];
		this setVariable ['TaskOwner','3'];
		this setVariable ['TaskTitle','ALPHA'];
		this setVariable ['taskDescription','Capture sector Alpha'];
		this setVariable ['ScoreReward','0'];
		this setVariable ['Sides',[west,east]];
		this setVariable ['objectArea',[50,50,0,false ]];
	"]];
Dec 7 2018, 8:55 AM · Arma 3

Dec 4 2018

ivosh_cz edited Steps To Reproduce on T134636: Creating sector module by script doesnt work after update 1.86.
Dec 4 2018, 9:01 AM · Arma 3
ivosh_cz edited Steps To Reproduce on T134636: Creating sector module by script doesnt work after update 1.86.
Dec 4 2018, 9:00 AM · Arma 3
ivosh_cz created T134636: Creating sector module by script doesnt work after update 1.86.
Dec 4 2018, 9:00 AM · Arma 3

Oct 23 2017

ivosh_cz added a comment to T67181: overviewPicture given in description.ext not found.

version 1.76.143187 - Hotfix (23.10.2017)

Oct 23 2017, 10:52 AM · Restricted Project, Arma 3