2015-01-11 19:50:29 +00:00
|
|
|
#define COMPONENT interaction
|
2015-05-20 21:28:10 +00:00
|
|
|
#include "\z\ace\addons\main\script_mod.hpp"
|
2015-01-11 19:50:29 +00:00
|
|
|
|
2016-01-29 05:26:02 +00:00
|
|
|
// #define DEBUG_MODE_FULL
|
|
|
|
// #define DISABLE_COMPILE_CACHE
|
|
|
|
// #define CBA_DEBUG_SYNCHRONOUS
|
|
|
|
// #define ENABLE_PERFORMANCE_COUNTERS
|
|
|
|
|
2015-01-11 19:50:29 +00:00
|
|
|
#ifdef DEBUG_ENABLED_INTERACTION
|
2015-04-06 16:22:43 +00:00
|
|
|
#define DEBUG_MODE_FULL
|
2015-01-11 19:50:29 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef DEBUG_SETTINGS_INTERACTION
|
2015-04-06 16:22:43 +00:00
|
|
|
#define DEBUG_SETTINGS DEBUG_SETTINGS_INTERACTION
|
2015-01-11 19:50:29 +00:00
|
|
|
#endif
|
|
|
|
|
2015-08-30 09:13:26 +00:00
|
|
|
#include "\z\ace\addons\main\script_macros.hpp"
|
|
|
|
|
|
|
|
#define MACRO_DOOR_REACH_DISTANCE (AGLToASL positionCameraToWorld [0,0,0] vectorDistance AGLToASL (ACE_player modelToWorld (ACE_player selectionPosition "Head"))) + 2
|