2015-01-11 18:24:19 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
PREP(rotateVectLineGetMap);
|
|
|
|
PREP(rotateVectLine);
|
|
|
|
PREP(shootRay);
|
|
|
|
PREP(shootCone);
|
|
|
|
PREP(checkLos);
|
|
|
|
|
|
|
|
PREP(findLaserDesignator);
|
|
|
|
PREP(findStrongestRay);
|
|
|
|
|
|
|
|
PREP(translateToModelSpace);
|
|
|
|
PREP(translateToWeaponSpace);
|
|
|
|
|
|
|
|
PREP(laser_init);
|
|
|
|
|
2015-04-02 16:35:36 +00:00
|
|
|
GVAR(laser) = nil; // a single hud draws 1 laser at a time
|
2015-01-11 18:24:19 +00:00
|
|
|
|
|
|
|
PREP(laserTargetPFH);
|
|
|
|
|
|
|
|
ACE_LASERS = [];
|
|
|
|
|
|
|
|
ACE_DEFAULT_LASER_CODE = 1000;
|
|
|
|
ACE_DEFAULT_FIRE_SELECTION = [FIREMODE_DIRECT_LOAL, ACE_DEFAULT_LASER_CODE];
|
|
|
|
|
|
|
|
FUNC(getPosASL) = {visiblePositionASL (_this select 0)};
|