VN_fnc_revive_dynamic_audio

From Savage Game Design Wiki
Revision as of 18:01, 30 January 2021 by Lou Montana (talk | contribs) (Page filling)
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Ethan Johnson
Argument(s): global
Effect(s): local

Description

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

Syntax
[speaker, soundClass, isLongDistance] call VN_fnc_revive_dynamic_audio
Parameters
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 return true if action is calling for help
Return value
Nothing

Examples

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