mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix Pointing Problems with Static Weapons (#6377)
* Update fnc_keyPress.sqf * Update fnc_keyPress.sqf
This commit is contained in:
committed by
BaerMitUmlaut
parent
0199ba9b4c
commit
9c60ec06e4
@ -48,7 +48,7 @@ private _nearbyMen = (ACE_player nearObjects ["CAManBase", (GVAR(maxRange) + 2)]
|
|||||||
{alive _x} &&
|
{alive _x} &&
|
||||||
{(_x == (vehicle _x)) || {(vehicle _x) isKindOf "StaticWeapon"}} &&
|
{(_x == (vehicle _x)) || {(vehicle _x) isKindOf "StaticWeapon"}} &&
|
||||||
{GVAR(indicatorForSelf) || {_x != ACE_player}} &&
|
{GVAR(indicatorForSelf) || {_x != ACE_player}} &&
|
||||||
{!(lineIntersects [(eyePos _x), _playerEyePosASL, ACE_player, _x])} &&
|
{!(lineIntersects [(eyePos _x), _playerEyePosASL, vehicle ACE_player, vehicle _x])} &&
|
||||||
{[_x] call EFUNC(common,isPlayer)}) then {
|
{[_x] call EFUNC(common,isPlayer)}) then {
|
||||||
|
|
||||||
_sendFingerToPlayers pushBack _x;
|
_sendFingerToPlayers pushBack _x;
|
||||||
|
Reference in New Issue
Block a user