mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Only allow for laser designator for vanilla compensation.
This commit is contained in:
parent
509b5e1a05
commit
db5d54dffd
@ -19,8 +19,8 @@ _owner = _this select 1;
|
||||
|
||||
// Not in a vehicle....
|
||||
// @TODO: handle lasering from turrets
|
||||
if( (vehicle _owner) == _owner && alive _owner ) exitWith {
|
||||
[(eyePos _owner), (eyeDirection _owner)]
|
||||
if( (vehicle _emmiter) == _emmiter && alive _emmiter && (currentWeapon _emmiter) == "LaserDesignator") exitWith {
|
||||
[(eyePos _emmiter), (eyeDirection _emmiter)]
|
||||
};
|
||||
|
||||
[-1,-1]
|
Loading…
Reference in New Issue
Block a user