2015-04-17 22:11:53 +00:00
|
|
|
/*
|
|
|
|
* Author: Ruthberg
|
|
|
|
* Saves user data into profileNamespace
|
|
|
|
*
|
|
|
|
* Arguments:
|
2017-06-08 13:31:51 +00:00
|
|
|
* None
|
2015-04-17 22:11:53 +00:00
|
|
|
*
|
|
|
|
* Return Value:
|
2017-06-08 13:31:51 +00:00
|
|
|
* None
|
2015-04-17 22:11:53 +00:00
|
|
|
*
|
|
|
|
* Example:
|
|
|
|
* call ace_atragmx_fnc_store_user_data
|
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2015-04-18 15:45:32 +00:00
|
|
|
profileNamespace setVariable ["ACE_ATragMX_profileNamespaceVersion", ATRAGMX_PROFILE_NAMESPACE_VERSION];
|
|
|
|
|
2015-04-17 22:11:53 +00:00
|
|
|
profileNamespace setVariable ["ACE_ATragMX_currentUnit", GVAR(currentUnit)];
|
|
|
|
profileNamespace setVariable ["ACE_ATragMX_currentGun", GVAR(currentGun)];
|
|
|
|
profileNamespace setVariable ["ACE_ATragMX_currentTarget", GVAR(currentTarget)];
|
|
|
|
|
|
|
|
profileNamespace setVariable ["ACE_ATragMX_atmosphereModeTBH", GVAR(atmosphereModeTBH)];
|
|
|
|
profileNamespace setVariable ["ACE_ATragMX_altitude", GVAR(altitude)];
|
|
|
|
profileNamespace setVariable ["ACE_ATragMX_temperature", GVAR(temperature)];
|
|
|
|
profileNamespace setVariable ["ACE_ATragMX_barometricPressure", GVAR(barometricPressure)];
|
|
|
|
profileNamespace setVariable ["ACE_ATragMX_relativeHumidity", GVAR(relativeHumidity)];
|
|
|
|
|
2015-04-18 13:08:54 +00:00
|
|
|
profileNamespace setVariable ["ACE_ATragMX_showWind2", GVAR(showWind2)];
|
2016-11-02 12:56:59 +00:00
|
|
|
profileNamespace setVariable ["ACE_ATragMX_showCoriolis", GVAR(showCoriolis)];
|
2015-04-19 08:57:55 +00:00
|
|
|
profileNamespace setVariable ["ACE_ATragMX_latitude", GVAR(latitude)];
|
|
|
|
profileNamespace setVariable ["ACE_ATragMX_directionOfFire", GVAR(directionOfFire)];
|
2015-04-17 22:11:53 +00:00
|
|
|
profileNamespace setVariable ["ACE_ATragMX_windSpeed1", GVAR(windSpeed1)];
|
|
|
|
profileNamespace setVariable ["ACE_ATragMX_windSpeed2", GVAR(windSpeed2)];
|
|
|
|
profileNamespace setVariable ["ACE_ATragMX_windDirection", GVAR(windDirection)];
|
|
|
|
profileNamespace setVariable ["ACE_ATragMX_inclinationAngle", GVAR(inclinationAngle)];
|
|
|
|
profileNamespace setVariable ["ACE_ATragMX_targetSpeed", GVAR(targetSpeed)];
|
2015-04-21 13:46:53 +00:00
|
|
|
profileNamespace setVariable ["ACE_ATragMX_targetSpeedDirection", GVAR(targetSpeedDirection)];
|
2015-04-17 22:11:53 +00:00
|
|
|
profileNamespace setVariable ["ACE_ATragMX_targetRange", GVAR(targetRange)];
|
2015-04-19 08:57:55 +00:00
|
|
|
|
|
|
|
profileNamespace setVariable ["ACE_ATragMX_rangeCardStartRange", GVAR(rangeCardStartRange)];
|
|
|
|
profileNamespace setVariable ["ACE_ATragMX_rangeCardEndRange", GVAR(rangeCardEndRange)];
|
|
|
|
profileNamespace setVariable ["ACE_ATragMX_rangeCardIncrement", GVAR(rangeCardIncrement)];
|
2017-06-08 13:31:51 +00:00
|
|
|
profileNamespace setVariable ["ACE_ATragMX_rangeCardCurrentColumn", GVAR(rangeCardCurrentColumn)];
|