Difference between revisions of "VN fnc sam dynamic audio"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (1 revision imported)
m (Text replacement - "call VN_" to "call [[VN_")
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
 
{{Function
 
{{Function
  
 
|v= 1.00
 
|v= 1.00
  
|a= Ethan Johnson
+
|author= Ethan Johnson
  
|e=
+
|a= global
 +
 
 +
|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:
 
                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]];
+
|s= [source, soundClass] call [[VN_fnc_sam_dynamic_audio]]
  
|p1n=
+
|p1n= source
|p1t=
+
|p1t= object
 
|p1d=
 
|p1d=
 
|p1v=
 
|p1v=
  
|p2n=
+
|p2n= soundClass
|p2t=
+
|p2t= string
 
|p2d=
 
|p2d=
 
|p2v=
 
|p2v=
Line 40: Line 28:
 
|r1d=
 
|r1d=
  
|x1= <code>-</code>
+
|x1= <code>[player, "mySound"] call [[VN_fnc_sam_dynamic_audio</code>
 
}}
 
}}

Latest revision as of 09:14, 27 February 2021

{{Function

|v= 1.00

|author= Ethan Johnson

|a= global

|e= local

|g1= situational_awareness_module_functions

|d= Play situational awareness audio locally on user's client based on predefined conditions; works for normal play, Splendid Camera & Zeus.

|s= [source, soundClass] call VN_fnc_sam_dynamic_audio

|p1n= source |p1t= object |p1d= |p1v=

|p2n= soundClass |p2t= string |p2d= |p2v=

|r1t= |r1d=

|x1= [player, "mySound"] call [[VN_fnc_sam_dynamic_audio }}