mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Added ignore private warnings + trace
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Author: bux, commy2
|
* Author: bux, commy2
|
||||||
* Replace the disposable launcher with the used dummy.
|
* Replace the disposable launcher with the used dummy. Called from the unified fired EH.
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* None. Parameters inherited from EFUNC(common,firedEH)
|
* None. Parameters inherited from EFUNC(common,firedEH)
|
||||||
@ -15,6 +15,9 @@
|
|||||||
*/
|
*/
|
||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
|
||||||
|
//IGNORE_PRIVATE_WARNING ["_unit", "_weapon", "_muzzle", "_mode", "_ammo", "_magazine", "_projectile", "_vehicle", "_gunner", "_turret"];
|
||||||
|
TRACE_10("firedEH:",_unit, _weapon, _muzzle, _mode, _ammo, _magazine, _projectile, _vehicle, _gunner, _turret);
|
||||||
|
|
||||||
if (!local _unit || {_weapon != secondaryWeapon _unit}) exitWith {};
|
if (!local _unit || {_weapon != secondaryWeapon _unit}) exitWith {};
|
||||||
|
|
||||||
private _replacementTube = getText (configFile >> "CfgWeapons" >> _weapon >> "ACE_UsedTube");
|
private _replacementTube = getText (configFile >> "CfgWeapons" >> _weapon >> "ACE_UsedTube");
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Author: KoffeinFlummi
|
* Author: KoffeinFlummi
|
||||||
* Adjusts the direction of a shell. Only gets called if the gunner is a player
|
* Adjusts the direction of a shell. Called from the unified fired EH only if the gunner is a player.
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* None. Parameters inherited from EFUNC(common,firedEH)
|
* None. Parameters inherited from EFUNC(common,firedEH)
|
||||||
@ -12,6 +12,9 @@
|
|||||||
*/
|
*/
|
||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
|
||||||
|
//IGNORE_PRIVATE_WARNING ["_unit", "_weapon", "_muzzle", "_mode", "_ammo", "_magazine", "_projectile", "_vehicle", "_gunner", "_turret"];
|
||||||
|
TRACE_10("firedEH:",_unit, _weapon, _muzzle, _mode, _ammo, _magazine, _projectile, _vehicle, _gunner, _turret);
|
||||||
|
|
||||||
private _FCSMagazines = _vehicle getVariable [format ["%1_%2", QGVAR(Magazines), _turret], []];
|
private _FCSMagazines = _vehicle getVariable [format ["%1_%2", QGVAR(Magazines), _turret], []];
|
||||||
private _FCSElevation = _vehicle getVariable format ["%1_%2", QGVAR(Elevation), _turret];
|
private _FCSElevation = _vehicle getVariable format ["%1_%2", QGVAR(Elevation), _turret];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user