mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
16 lines
360 B
Plaintext
16 lines
360 B
Plaintext
/**
|
|
* fn_broadcastSound3D_f.sqf
|
|
* @Descr: Plays a sound in 3D
|
|
* @Author: Glowbal
|
|
*
|
|
* @Arguments: [unit OBJECT, sound STRING]
|
|
* @Return: void
|
|
* @PublicAPI: true
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
if (isDedicated) exitwith{};
|
|
_unit = [_this, 0, ObjNull,[ObjNull]] call BIS_fnc_Param;
|
|
_sound = [_this, 1, "",[""]] call BIS_fnc_Param;
|
|
_unit say3D _sound; |