mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
move cam func
This commit is contained in:
@ -6,6 +6,8 @@ PREP(changeMissileDirection);
|
||||
PREP(checkSeekerAngle);
|
||||
PREP(checkLos);
|
||||
|
||||
PREP(dev_ProjectileCamera);
|
||||
|
||||
PREP(onFired);
|
||||
PREP(onIncomingMissile);
|
||||
|
||||
|
@ -9,6 +9,3 @@
|
||||
false
|
||||
},
|
||||
[15, [false, true, false]], false] call CBA_fnc_addKeybind; //Ctrl+Tab Key
|
||||
|
||||
GVAR(dev_fnc_projectileCamera) = compile preprocessFileLineNumbers QPATHTOF(dev\projectileCamera.sqf);
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "\z\ace\addons\missileguidance\script_component.hpp"
|
||||
#include "..\script_component.hpp"
|
||||
|
||||
private _configs = configProperties [configFile >> "CfgAmmo", QUOTE((isClass _x) && { isClass (_x >> QUOTE(QUOTE(ADDON)))})];
|
||||
|
||||
|
@ -1,5 +1,16 @@
|
||||
#include "..\script_component.hpp"
|
||||
// tracks a projectile until it explodes
|
||||
/*
|
||||
* Author: tcvm
|
||||
* tracks a projectile until it explodes
|
||||
*
|
||||
* Arguments:
|
||||
* None
|
||||
*
|
||||
* Return Value:
|
||||
* None
|
||||
*
|
||||
* Public: No
|
||||
*/
|
||||
params ["_projectile"];
|
||||
|
||||
private _camera = "camera" camCreate getPosATL _projectile;
|
@ -231,7 +231,7 @@ if (_onFiredFunc != "") then {
|
||||
[LINKFUNC(guidancePFH),0, _args ] call CBA_fnc_addPerFrameHandler;
|
||||
|
||||
if (GVAR(debug_enableMissileCamera)) then {
|
||||
[_projectile] call GVAR(dev_fnc_projectileCamera);
|
||||
[_projectile] call FUNC(dev_ProjectileCamera);
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user