Fix script errors (#4327)

This commit is contained in:
PabstMirror 2016-09-04 14:03:52 -05:00 committed by Glowbal
parent 8a47d7a9b6
commit 0848b6d1de
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#include "script_component.hpp" #include "script_component.hpp"
params ["_pos1", "_pos2", "_designator", "_seeker"] params ["_pos1", "_pos2", "_designator", "_seeker"];
private _spacing = 100; private _spacing = 100;
if((count _this) > 4) then { if((count _this) > 4) then {

View File

@ -8,8 +8,8 @@
EXPLODE_7_PVT(((_this select 1) select 0),_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile); EXPLODE_7_PVT(((_this select 1) select 0),_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
private ["_targetPos", "_projectilePos", "_target", "_seekerTargetPos", "_launchParams", "_targetLaunchParams"]; private ["_targetPos", "_projectilePos", "_target", "_seekerTargetPos", "_launchParams", "_targetLaunchParams"];
private [_distanceToTarget", "_distanceToShooter", "_addHeight", "_returnTargetPos", "_state"]; private ["_distanceToTarget", "_distanceToShooter", "_addHeight", "_returnTargetPos", "_state"];
private [cruisAlt", "_distanceShooterToTarget", "_shooterPos"]; private ["_cruisAlt", "_distanceShooterToTarget", "_shooterPos"];
_seekerTargetPos = _this select 0; _seekerTargetPos = _this select 0;
_launchParams = _this select 1; _launchParams = _this select 1;