ACE3/addons/kestrel4500/functions/fnc_restoreUserData.sqf

20 lines
441 B
Plaintext
Raw Normal View History

#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:
* 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);
GVAR(RefHeading) = 0 max (profileNamespace getVariable ["ACE_Kestrel4500_RefHeading", 0]) min 359;