-
Notifications
You must be signed in to change notification settings - Fork 740
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9a7f879
commit 82bb067
Showing
3 changed files
with
15 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,18 @@ | ||
#include "script_component.hpp" | ||
|
||
[ QGVAR(EH_say3d), FUNC(say3d) ] call CBA_fnc_addEventHandler; // TO BE DELETED ONCE https://github.com/acemod/ACE3/pull/10619 has merged | ||
[ QGVAR(EH_updateMagIDs), FUNC(spareBarrel_updateMagIDs) ] call CBA_fnc_addEventHandler; | ||
|
||
[ | ||
QGVAR(EH_say3d), | ||
{ | ||
params [["_source", objNull, [objNull]],["_sound",[""],["", []]]]; | ||
if (_sound isEqualType [] && {_sound#0 == ""} || {_sound isEqualType "" && {_sound == ""}}) exitWith {}; | ||
_sound params [ | ||
"_className", | ||
["_distance", 50, [0]], | ||
["_pitch", 0.95 + random 0.1, [0]] | ||
]; | ||
_source say3D [_className, _distance, _pitch, _isSpeech, _offSet, _simSpeedOfSound]; | ||
nil | ||
} | ||
] call CBA_fnc_addEventHandler; |
This file was deleted.
Oops, something went wrong.