mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
25 lines
883 B
Plaintext
25 lines
883 B
Plaintext
|
#include "script_component.hpp"
|
||
|
/*
|
||
|
* Author: Brandon (TCVM)
|
||
|
* Sets up LOS navigation state arrays (called from missileGuidance's onFired).
|
||
|
*
|
||
|
* Arguments:
|
||
|
* Guidance Arg Array <ARRAY>
|
||
|
*
|
||
|
* Return Value:
|
||
|
* None
|
||
|
*
|
||
|
* Example:
|
||
|
* [] call ace_missileguidance_fnc_proNav_onFired
|
||
|
*
|
||
|
* Public: No
|
||
|
*/
|
||
|
params ["_firedEH", "", "", "", "_stateParams"];
|
||
|
_firedEH params ["_shooter","","","","_ammo","","_projectile"];
|
||
|
_launchParams params ["_shooter","_targetLaunchParams","_seekerType","_attackProfile","_lockMode","_laserInfo","_navigationType"];
|
||
|
_targetLaunchParams params ["_target", "_targetPos", "_launchPos"];
|
||
|
_stateParams params ["_lastRunTime", "_seekerStateParams", "_attackProfileStateParams", "_lastKnownPosState","_navigationParams"];
|
||
|
_seekerParams params ["_seekerAngle", "_seekerAccuracy", "_seekerMaxRange", "_seekerMinRange"];
|
||
|
|
||
|
_stateParams set [4, [[0, 0, 0]]];
|