Skip to content
VN_fnc_revive_dynamic_audio

VN_fnc_revive_dynamic_audio

v1.00Theme: Revive & MedicalGroup: ReviveArguments: globalEffects: localReturns: Nothing

Play an audio file including long-distance (up to 200m from camera’s position) version if required, works for normal play, Splendid™ Camera & Zeus.

Syntax

[speaker, soundClass, isLongDistance] call VN_fnc_revive_dynamic_audio

Parameters

ParameterTypeDefaultDescription
speaker Object— object that will say3D soundClass
soundClass String— audio class to say3d from the object
isLongDistance Boolean— if distance audio should be played. Should only use true if action is “help” (from VN_fnc_revive_conversation)

Examples

[driver sogJeep, "helloThere", false] call VN_fnc_revive_dynamic_audio;

Documented by Ethan Johnson.