From 9936b4645b9c7ab86e86545a38e2f1eebb68123d Mon Sep 17 00:00:00 2001 From: HARLAN Date: Tue, 26 Nov 2013 18:25:00 -0500 Subject: [PATCH] spacing --- SQF/dayz_code/system/BIS_Effects/secondaries.sqf | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/SQF/dayz_code/system/BIS_Effects/secondaries.sqf b/SQF/dayz_code/system/BIS_Effects/secondaries.sqf index 25eb50d06..9abd658e1 100644 --- a/SQF/dayz_code/system/BIS_Effects/secondaries.sqf +++ b/SQF/dayz_code/system/BIS_Effects/secondaries.sqf @@ -4,19 +4,19 @@ _v=_this select 0; _int=_this select 1; _list=[]; _lifecheck=true; -if(count _this>2)then{ +if (count _this > 2) then { _lifecheck=_this select 2 }; _int=_int min 3; -if(!((_v isKindOf"Air")OR{((_v isKindOf"LandVehicle")OR{(_v isKindOf"Ship")})}))exitWith{}; +if (!((_v isKindOf"Air") OR {((_v isKindOf "LandVehicle") OR {(_v isKindOf "Ship")})}))exitWith{}; _effect2pos=_v selectionposition"destructionEffect2"; -while{_int>1}do{ +while {_int>1} do { _int=_int-1; _t=(random 45)+1; _list=_list+[_t]; }; { sleep _x; - if((_lifecheck&&(alive _v))||(isnull _v)||(((getposASL _v)select 2)<0))exitwith{}; - "SmallSecondary"createvehicle(_v modelToWorld _effect2pos); -}foreach(_list); + if ((_lifecheck && (alive _v))||(isnull _v)||(((getposASL _v)select 2) < 0))exitwith{}; + "SmallSecondary" createvehicle(_v modelToWorld _effect2pos); +}foreach (_list);