Difference between revisions of "VN fnc sam dynamic audio"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Text replacement - "]]; |p1n=" to "]] |p1n=")
(Page filling)
Line 1: Line 1:
[[Category:TODO]]
 
 
{{Function
 
{{Function
  
Line 6: Line 5:
 
|author= Ethan Johnson
 
|author= Ethan Johnson
  
|a=
+
|a= global
  
|e=
+
|e= local
  
 
|g1= situational_awareness_module_functions
 
|g1= situational_awareness_module_functions
  
|d= <pre>/*
+
|d= Play situational awareness audio locally on user's client based on predefined conditions; works for normal play, Splendid Camera &amp; Zeus.
        FILE: fn_sam_dynamic_audio.sqf
 
        DATE: 13-06-2019
 
        AUTHOR: Ethan Johnson
 
  
        DESCRIPTION:
+
|s= [source, soundClass] call [[VN_fnc_sam_dynamic_audio]]
                Play situational awareness audio locally on users client based on predefined conditions, works for normal play, splended camera & zeus.
 
        PARAMETERS:
 
                (0): TEXT - Audio class to `say3d` from the object
 
                (1): OBJECT - Object to `say3d` the audio
 
        RETURNS:
 
                NONE
 
*/
 
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
 
  
|s= [] call [[VN_fnc_sam_dynamic_audio]]
+
|p1n= source
 
+
|p1t= object
|p1n=
 
|p1t=
 
 
|p1d=
 
|p1d=
 
|p1v=
 
|p1v=
  
|p2n=
+
|p2n= soundClass
|p2t=
+
|p2t= string
 
|p2d=
 
|p2d=
 
|p2v=
 
|p2v=
Line 42: Line 28:
 
|r1d=
 
|r1d=
  
|x1= <code>-</code>
+
|x1= <code>[player, "mySound"] call VN_fnc_sam_dynamic_audio</code>
 
}}
 
}}

Revision as of 19:44, 21 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 situational awareness audio locally on user's client based on predefined conditions; works for normal play, Splendid Camera & Zeus.

Syntax

Syntax
[source, soundClass] call VN_fnc_sam_dynamic_audio
Parameters
source: Object
soundClass: String
Return value
Nothing

Examples

Example 1
[player, "mySound"] call VN_fnc_sam_dynamic_audio