@@ -4,103 +4,103 @@ _hq = _this select 1;
44_groupGuard = createGroup WEST ;
55
66// AA on the roof
7- _aapod = createVehicle [" B_static_AA_F" , [0 ,0 ,0 ], [], 0 , " NONE" ];
8- _aapod allowdamage false ;
9- _aapod setdamage 0 ;
10- _aapod setpos [_centerpos select 0 , _centerpos select 1 ,(_centerpos select 2 )+ 3.109 ];
7+ _aaPod = createVehicle [" B_static_AA_F" , [0 ,0 ,0 ], [], 0 , " NONE" ];
8+ _aaPod allowdamage false ;
9+ _aaPod setdamage 0 ;
10+ _aaPod setpos [_centerPos select 0 , _centerPos select 1 ,(_centerPos select 2 )+ 3.109 ];
1111
12- _HQguard1 = _groupGuard createUnit [" B_Soldier_F" , _centerPos , [], 0 , " FORM" ];
13- _HQguard1 moveinGunner _aapod ;
12+ _hqGuard1 = _groupGuard createUnit [" B_Soldier_F" , _centerPos , [], 0 , " FORM" ];
13+ _hqGuard1 moveinGunner _aaPod ;
1414
1515// GMG
16- _gl1pod = createVehicle [" B_GMG_01_high_F" , [0 ,0 ,0 ], [], 0 , " NONE" ];
17- _gl1pod allowdamage false ;
18- _gl1pod setdamage 0 ;
19- _gl1pod setpos [(_centerpos select 0 )- 7 , (_centerpos select 1 )+ 5.5 ];
16+ _gl1Pod = createVehicle [" B_GMG_01_high_F" , [0 ,0 ,0 ], [], 0 , " NONE" ];
17+ _gl1Pod allowdamage false ;
18+ _gl1Pod setdamage 0 ;
19+ _gl1Pod setpos [(_centerPos select 0 )- 7 , (_centerPos select 1 )+ 5.5 ];
2020
21- _HQguard1 = _groupGuard createUnit [" B_Soldier_F" , _centerPos , [], 0 , " FORM" ];
22- _HQguard1 moveinGunner _gl1pod ;
21+ _hqGuard1 = _groupGuard createUnit [" B_Soldier_F" , _centerPos , [], 0 , " FORM" ];
22+ _hqGuard1 moveinGunner _gl1Pod ;
2323
2424// AT
25- _atpod1 = createVehicle [" B_static_AT_F" , [0 ,0 ,0 ], [], 0 , " NONE" ];
26- _atpod1 setpos [(_centerpos select 0 )- 7 , (_centerpos select 1 )- 8 ];
27- _atpod1 allowdamage false ;
28- _atpod1 setdamage 0 ;
29- _atpod1 setdir 215 ;
25+ _atPod1 = createVehicle [" B_static_AT_F" , [0 ,0 ,0 ], [], 0 , " NONE" ];
26+ _atPod1 setpos [(_centerPos select 0 )- 7 , (_centerPos select 1 )- 8 ];
27+ _atPod1 allowdamage false ;
28+ _atPod1 setdamage 0 ;
29+ _atPod1 setdir 215 ;
3030
31- _HQguard1 = _groupGuard createUnit [" B_Soldier_F" , _centerPos , [], 0 , " FORM" ];
32- _HQguard1 moveinGunner _atpod1 ;
31+ _hqGuard1 = _groupGuard createUnit [" B_Soldier_F" , _centerPos , [], 0 , " FORM" ];
32+ _hqGuard1 moveinGunner _atPod1 ;
3333
3434// HMG
35- _atpod2 = createVehicle [" B_HMG_01_high_F" , [0 ,0 ,0 ], [], 0 , " NONE" ];
36- _atpod2 allowdamage false ;
37- _atpod2 setdamage 0 ;
38- _atpod2 setpos [(_centerpos select 0 )+ 8 , (_centerpos select 1 )- 7 ];
35+ _atPod2 = createVehicle [" B_HMG_01_high_F" , [0 ,0 ,0 ], [], 0 , " NONE" ];
36+ _atPod2 allowdamage false ;
37+ _atPod2 setdamage 0 ;
38+ _atPod2 setpos [(_centerPos select 0 )+ 8 , (_centerPos select 1 )- 7 ];
3939
40- _HQguard1 = _groupGuard createUnit [" B_Soldier_F" , _centerPos , [], 0 , " FORM" ];
41- _HQguard1 moveinGunner _atpod2 ;
40+ _hqGuard1 = _groupGuard createUnit [" B_Soldier_F" , _centerPos , [], 0 , " FORM" ];
41+ _hqGuard1 moveinGunner _atPod2 ;
4242
4343// GMG
44- _atpod3 = createVehicle [" B_GMG_01_high_F" , [0 ,0 ,0 ], [], 0 , " NONE" ];
45- _atpod3 allowdamage false ;
46- _atpod3 setdamage 0 ;
47- _atpod3 setpos [(_centerpos select 0 )+ 7 , (_centerpos select 1 )+ 8 ];
44+ _atPod3 = createVehicle [" B_GMG_01_high_F" , [0 ,0 ,0 ], [], 0 , " NONE" ];
45+ _atPod3 allowdamage false ;
46+ _atPod3 setdamage 0 ;
47+ _atPod3 setpos [(_centerPos select 0 )+ 7 , (_centerPos select 1 )+ 8 ];
4848
49- _HQguard1 = _groupGuard createUnit [" B_Soldier_F" , _centerPos , [], 0 , " FORM" ];
50- _HQguard1 moveinGunner _atpod3 ;
49+ _hqGuard1 = _groupGuard createUnit [" B_Soldier_F" , _centerPos , [], 0 , " FORM" ];
50+ _hqGuard1 moveinGunner _atPod3 ;
5151
5252// LIGHTS
5353_light1 = createVehicle [" Land_Camping_Light_F" , [0 ,0 ,0 ], [], 0 , " NONE" ];
5454_light1 allowdamage false ;
5555_light1 setdamage 0 ;
56- _light1 setpos [_centerpos select 0 , _centerpos select 1 ];
56+ _light1 setpos [_centerPos select 0 , _centerPos select 1 ];
5757
5858_light2 = createVehicle [" Land_Camping_Light_F" , [0 ,0 ,0 ], [], 0 , " NONE" ];
5959_light2 allowdamage false ;
6060_light2 setdamage 0 ;
61- _light2 setpos [(_centerpos select 0 )+ 5.5 , (_centerpos select 1 )- 5.5 ];
61+ _light2 setpos [(_centerPos select 0 )+ 5.5 , (_centerPos select 1 )- 5.5 ];
6262
6363_light3 = createVehicle [" Land_Camping_Light_F" , [0 ,0 ,0 ], [], 0 , " NONE" ];
6464_light3 allowdamage false ;
6565_light3 setdamage 0 ;
66- _light3 setpos [(_centerpos select 0 )- 5.5 , (_centerpos select 1 )+ 3.5 ];
66+ _light3 setpos [(_centerPos select 0 )- 5.5 , (_centerPos select 1 )+ 3.5 ];
6767
6868_light4 = createVehicle [" Land_Camping_Light_F" , [0 ,0 ,0 ], [], 0 , " NONE" ];
6969_light4 allowdamage false ;
7070_light4 setdamage 0 ;
71- _light4 setpos [(_centerpos select 0 )+ 5.5 , (_centerpos select 1 )+ 3.5 ];
71+ _light4 setpos [(_centerPos select 0 )+ 5.5 , (_centerPos select 1 )+ 3.5 ];
7272
7373_light5 = createVehicle [" Land_Camping_Light_F" , [0 ,0 ,0 ], [], 0 , " NONE" ];
7474_light5 allowdamage false ;
7575_light5 setdamage 0 ;
76- _light5 setpos [(_centerpos select 0 )- 5.5 , (_centerpos select 1 )- 5.5 ];
76+ _light5 setpos [(_centerPos select 0 )- 5.5 , (_centerPos select 1 )- 5.5 ];
7777
7878_light6 = createVehicle [" Land_Camping_Light_F" , [0 ,0 ,0 ], [], 0 , " NONE" ];
7979_light6 allowdamage false ;
8080_light6 setdamage 0 ;
81- _light6 setpos [(_centerpos select 0 )+ 2.75 , (_centerpos select 1 )- 2.75 ];
81+ _light6 setpos [(_centerPos select 0 )+ 2.75 , (_centerPos select 1 )- 2.75 ];
8282
8383_light7 = createVehicle [" Land_Camping_Light_F" , [0 ,0 ,0 ], [], 0 , " NONE" ];
8484_light7 allowdamage false ;
8585_light7 setdamage 0 ;
86- _light7 setpos [(_centerpos select 0 )- 2.75 , (_centerpos select 1 )+ 1.75 ];
86+ _light7 setpos [(_centerPos select 0 )- 2.75 , (_centerPos select 1 )+ 1.75 ];
8787
8888_light8 = createVehicle [" Land_Camping_Light_F" , [0 ,0 ,0 ], [], 0 , " NONE" ];
8989_light8 allowdamage false ;
9090_light8 setdamage 0 ;
91- _light8 setpos [(_centerpos select 0 )+ 2.75 , (_centerpos select 1 )+ 1.75 ];
91+ _light8 setpos [(_centerPos select 0 )+ 2.75 , (_centerPos select 1 )+ 1.75 ];
9292
9393_light9 = createVehicle [" Land_Camping_Light_F" , [0 ,0 ,0 ], [], 0 , " NONE" ];
9494_light9 allowdamage false ;
9595_light9 setdamage 0 ;
96- _light9 setpos [(_centerpos select 0 )- 2.75 , (_centerpos select 1 )- 2.75 ];
96+ _light9 setpos [(_centerPos select 0 )- 2.75 , (_centerPos select 1 )- 2.75 ];
9797
9898sleep 2 ;
99- _atpod1 allowdamage true ;
100- _atpod2 allowdamage true ;
101- _atpod3 allowdamage true ;
102- _gl1pod allowdamage true ;
103- _aapod allowdamage true ;
99+ _atPod1 allowdamage true ;
100+ _atPod2 allowdamage true ;
101+ _atPod3 allowdamage true ;
102+ _gl1Pod allowdamage true ;
103+ _aaPod allowdamage true ;
104104_light1 allowdamage true ;
105105_light2 allowdamage true ;
106106_light3 allowdamage true ;
@@ -112,4 +112,4 @@ _light8 allowdamage true;
112112_light9 allowdamage true ;
113113
114114
115- _hq addAction [" <t color='#ff0066'>Replace Defences (20CP)</t>" , " initHQ\refortify.sqf" , [_aapod , _gl1pod , _atpod1 , _atpod2 , _atpod3 , _centerpos , _hq ], 0 , true , true , " " , " _this == player" ];
115+ _hq addAction [" <t color='#ff0066'>Replace Defences (20CP)</t>" , " initHQ\refortify.sqf" , [_aaPod , _gl1Pod , _atPod1 , _atPod2 , _atPod3 , _centerPos , _hq ], 0 , true , true , " " , " _this == player" ];
0 commit comments