Difference between revisions of "VN fnc revive dynamic audio"

From Savage Game Design Wiki
Jump to navigation Jump to search
(Page filling)
(Page filling)
 
Line 27: Line 27:
 
|p3n= isLongDistance
 
|p3n= isLongDistance
 
|p3t= boolean
 
|p3t= boolean
|p3d= if distance audio should be played. Should only return true if action is calling for help
+
|p3d= if distance audio should be played. Should only use {{Biki|true}} if action is "help" (from [[VN_fnc_revive_conversation]])
 
|p3v=
 
|p3v=
  

Latest revision as of 18:02, 30 January 2021

← 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 use true if action is "help" (from VN_fnc_revive_conversation)
Return value
Nothing

Examples

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