Persistent reference heading for the Kestrel 4500.

This commit is contained in:
ulteq 2015-05-21 19:28:59 +02:00
parent 90ffee4ce6
commit 24b2fea303
2 changed files with 2 additions and 0 deletions

View File

@ -16,3 +16,4 @@
#include "script_component.hpp" #include "script_component.hpp"
GVAR(Menu) = 0 max (profileNamespace getVariable ["ACE_Kestrel4500_menu", 0]) min ((count GVAR(Menus)) - 1); 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;

View File

@ -16,3 +16,4 @@
#include "script_component.hpp" #include "script_component.hpp"
profileNamespace setVariable ["ACE_Kestrel4500_menu", GVAR(menu)]; profileNamespace setVariable ["ACE_Kestrel4500_menu", GVAR(menu)];
profileNamespace setVariable ["ACE_Kestrel4500_RefHeading", GVAR(RefHeading)];