2015-04-10 18:57:50 +00:00
|
|
|
//#define DEBUG_MODE_FULL
|
2015-04-04 23:55:53 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
TRACE_1("enter", _this);
|
|
|
|
|
|
|
|
private["_player", "_currentFireMode"];
|
|
|
|
|
2015-04-14 17:25:08 +00:00
|
|
|
_currentFireMode = ACE_player getVariable["ace_missileguidance_attackProfile", "JAV_TOP"];
|
|
|
|
if(_currentFireMode == "JAV_DIR") then {
|
|
|
|
_currentFireMode = "JAV_TOP";
|
2015-04-04 23:55:53 +00:00
|
|
|
} else {
|
2015-04-14 17:25:08 +00:00
|
|
|
_currentFireMode = "JAV_DIR";
|
2015-04-04 23:55:53 +00:00
|
|
|
};
|
2015-04-08 15:01:39 +00:00
|
|
|
ACE_player setVariable["ace_missileguidance_attackProfile", _currentFireMode, false];
|