mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
25 lines
483 B
Plaintext
25 lines
483 B
Plaintext
#include "script_component.hpp"
|
|
/*
|
|
* Author: Brandon (TCVM)
|
|
* Returns attack data for GPS guided bomb
|
|
*
|
|
* Arguments:
|
|
* None
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* [] call ace_missileguidance_fnc_gps_getAttackData
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
if (GVAR(gps_mode) isEqualTo "too") then {
|
|
private _target = getPilotCameraTarget (vehicle ACE_PLAYER);
|
|
_target params ["_tracking", "_position", "_object"];
|
|
GVAR(gps_currentSettings) set [0, _position]
|
|
};
|
|
GVAR(gps_currentSettings)
|
|
|