mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Test confirm no bouncy.
This commit is contained in:
parent
5bf763a08e
commit
c1ba4966f9
@ -29,7 +29,8 @@ _seekerType = (vehicle _shooter) getVariable [QGVAR(seekerType), nil];
|
|||||||
_attackProfile = (vehicle _shooter) getVariable [QGVAR(attackProfile), nil];
|
_attackProfile = (vehicle _shooter) getVariable [QGVAR(attackProfile), nil];
|
||||||
_lockMode = (vehicle _shooter) getVariable [QGVAR(lockMode), nil];
|
_lockMode = (vehicle _shooter) getVariable [QGVAR(lockMode), nil];
|
||||||
|
|
||||||
_laserCode = (vehicle _shooter) getVariable [QEGVAR(laser,code), ACE_DEFAULT_LASER_CODE];
|
// @TODO: make this vehicle shooter, but we need to differentiate where its set in ace_laser
|
||||||
|
_laserCode = _shooter getVariable [QEGVAR(laser,code), ACE_DEFAULT_LASER_CODE];
|
||||||
_laserInfo = [_laserCode, ACE_DEFAULT_LASER_WAVELENGTH, ACE_DEFAULT_LASER_WAVELENGTH];
|
_laserInfo = [_laserCode, ACE_DEFAULT_LASER_WAVELENGTH, ACE_DEFAULT_LASER_WAVELENGTH];
|
||||||
|
|
||||||
_launchPos = getPosASL (vehicle _shooter);
|
_launchPos = getPosASL (vehicle _shooter);
|
||||||
|
@ -8,8 +8,8 @@ _launchParams = _this select 1;
|
|||||||
_seekerParams = _launchParams select 3;
|
_seekerParams = _launchParams select 3;
|
||||||
_angleFov = _seekerParams select 0;
|
_angleFov = _seekerParams select 0;
|
||||||
|
|
||||||
_laserParams = _launchParams select 5;
|
_laserParams = (_launchParams select 1) select 5;
|
||||||
|
TRACE_2("", _launchParams, _laserParams);
|
||||||
if(!isNil "_target") then {
|
if(!isNil "_target") then {
|
||||||
// Handle AI or moving vanilla lasers
|
// Handle AI or moving vanilla lasers
|
||||||
_foundTargetPos = getPosASL _target;
|
_foundTargetPos = getPosASL _target;
|
||||||
|
Loading…
Reference in New Issue
Block a user