mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Removed remaining usage of player (#3710)
This commit is contained in:
parent
1742629045
commit
82f8eb758c
@ -54,5 +54,5 @@ private _lowestVolume = 1;
|
|||||||
0 fadeMusic _lowestVolume;
|
0 fadeMusic _lowestVolume;
|
||||||
|
|
||||||
// Set Radio mod variables.
|
// Set Radio mod variables.
|
||||||
player setVariable ["tf_globalVolume", _lowestVolume];
|
ACE_player setVariable ["tf_globalVolume", _lowestVolume];
|
||||||
if (!isNil "acre_api_fnc_setGlobalVolume") then { [_lowestVolume^0.33] call acre_api_fnc_setGlobalVolume; };
|
if (!isNil "acre_api_fnc_setGlobalVolume") then { [_lowestVolume^0.33] call acre_api_fnc_setGlobalVolume; };
|
||||||
|
@ -20,4 +20,4 @@ params [["_obj", objNull, [objNull]], ["_dirAndUp", [[1,0,0],[0,0,1]], [[]]]];
|
|||||||
|
|
||||||
_obj setVectorDirAndUp _dirAndUp;
|
_obj setVectorDirAndUp _dirAndUp;
|
||||||
_obj allowDamage false;
|
_obj allowDamage false;
|
||||||
player disableCollisionWith _obj;
|
ACE_player disableCollisionWith _obj;
|
||||||
|
Loading…
Reference in New Issue
Block a user