mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Kestrel4500 - Measure wind relative to player's head direction (#10215)
This commit is contained in:
parent
bdf6a179ad
commit
22f97270f6
@ -15,7 +15,7 @@
|
|||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
||||||
|
|
||||||
private _playerDir = getDir ACE_player;
|
private _playerDir = (ACE_player call CBA_fnc_headDir) select 0;
|
||||||
private _windSpeed = vectorMagnitude wind;
|
private _windSpeed = vectorMagnitude wind;
|
||||||
private _windDir = (wind select 0) atan2 (wind select 1);
|
private _windDir = (wind select 0) atan2 (wind select 1);
|
||||||
if (missionNamespace getVariable [QEGVAR(advanced_ballistics,enabled), false]) then {
|
if (missionNamespace getVariable [QEGVAR(advanced_ballistics,enabled), false]) then {
|
||||||
|
Loading…
Reference in New Issue
Block a user