2018-09-17 19:19:29 +00:00
|
|
|
#include "script_component.hpp"
|
2015-05-14 13:39:29 +00:00
|
|
|
/*
|
|
|
|
* Author: Ruthberg
|
|
|
|
* Reads user data from profileNamespace
|
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* Nothing
|
|
|
|
*
|
|
|
|
* Return Value:
|
2015-08-13 23:55:54 +00:00
|
|
|
* None
|
2015-05-14 13:39:29 +00:00
|
|
|
*
|
|
|
|
* Example:
|
2020-04-25 06:41:45 +00:00
|
|
|
* call ace_kestrel4500_fnc_restoreUserData
|
2015-05-14 13:39:29 +00:00
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
|
|
|
|
GVAR(Menu) = 0 max (profileNamespace getVariable ["ACE_Kestrel4500_menu", 0]) min ((count GVAR(Menus)) - 1);
|
2015-05-21 17:28:59 +00:00
|
|
|
GVAR(RefHeading) = 0 max (profileNamespace getVariable ["ACE_Kestrel4500_RefHeading", 0]) min 359;
|