Merge pull request #1338 from acemod/kestrelPersistentRefHeading

Persistent reference heading for the Kestrel 4500.
This commit is contained in:
ulteq 2015-05-21 19:29:13 +02:00
commit c4bd97c016
2 changed files with 2 additions and 0 deletions

View File

@ -16,3 +16,4 @@
#include "script_component.hpp"
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"
profileNamespace setVariable ["ACE_Kestrel4500_menu", GVAR(menu)];
profileNamespace setVariable ["ACE_Kestrel4500_RefHeading", GVAR(RefHeading)];