Some bracket errors

This commit is contained in:
Githawk 2016-02-01 20:21:20 +01:00
parent cc624f58dd
commit 475351fcfa
6 changed files with 6 additions and 6 deletions

View File

@ -16,7 +16,7 @@
*/
#include "script_component.hpp"
params [["_unit", objNull, [objNull], ["_isUnconscious", false, [false]]]
params [["_unit", objNull, [objNull]], ["_isUnconscious", false, [false]]];
if (!local _unit || {!_isUnconscious}) exitWith {};

View File

@ -16,7 +16,7 @@
*/
#include "script_component.hpp"
params [["_obj", objNull, [objNull], ["_dirAndUp", [[1,0,0],[0,0,1]], [[]]]]
params [["_obj", objNull, [objNull]], ["_dirAndUp", [[1,0,0],[0,0,1]], [[]]]];
_obj setVectorDirAndUp _dirAndUp;
_obj allowDamage false;

View File

@ -22,7 +22,7 @@
#include "script_component.hpp"
private ["_dummy", "_weaponSelect", "_turretOwnerID"];
params [["_args", [objNull, objNull, [], 0, "", 0], [[]]], [6]];
params [["_args", [objNull, objNull, [], 0, "", 0], [[]], [6]]];
_args params ["_target", "_unit", "_turretPath", "_numMagazines", "_magazineClass", "_numRounds"];
//hint format ["Target: %1\nTurretPath: %2\nNumMagazines: %3\nMagazine: %4\nNumRounds: %5", _target, _turretPath, _numMagazines, _magazineClass, _numRounds];

View File

@ -22,7 +22,7 @@
#include "script_component.hpp"
private ["_rounds", "_currentRounds", "_maxMagazines", "_currentMagazines", "_dummy", "_weaponSelect"];
params [["_args", [objNull, objNull, [], 0, "", 0], [[]]], [6]];
params [["_args", [objNull, objNull, [], 0, "", 0], [[]], [6]]];
_args params ["_target", "_unit", "_turretPath", "_numMagazines", "_magazineClass", "_numRounds"];
//hint format ["Target: %1\nTurretPath: %2\nNumMagazines: %3\nMagazine: %4\nNumRounds: %5\nUnit: %6", _target, _turretPath, _numMagazines, _magazineClass, _numRounds, _unit];

View File

@ -21,7 +21,7 @@
private ["_ammo", "_tmpCal", "_cal", "_idx"];
params [["_target", objNull, [objNull]], ["_unit", objNull, [objNull]], ["_args", ["", objNull]], [[]]];
params [["_target", objNull, [objNull]], ["_unit", objNull, [objNull]], ["_args", ["", objNull], [[]]]];
_args params ["_magazineClass", "_vehicle"];
_ammo = getText (configFile >> "CfgMagazines" >> _magazineClass >> "ammo");

View File

@ -19,7 +19,7 @@
#include "script_component.hpp"
private ["_ammo", "_dummyName", "_dummy", "_actionID"];
params [["_args", [objNull, "", objNull]], [[]]];
params [["_args", [objNull, "", objNull], [[]]]];
_args params ["_unit", "_magazineClass", "_target"]; // _target is for future possible finite ammo
[_unit, QGVAR(vehRearm), true] call EFUNC(common,setForceWalkStatus);