Difference between revisions of "VN fnc sam dynamic audio"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "]]; |p1n=" to "]] |p1n=") |
Lou Montana (talk | contribs) (Page filling) |
||
Line 1: | Line 1: | ||
− | |||
{{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= | + | |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 | |
− | |p1n= | ||
− | |p1t= | ||
|p1d= | |p1d= | ||
|p1v= | |p1v= | ||
− | |p2n= | + | |p2n= soundClass |
− | |p2t= | + | |p2t= string |
|p2d= | |p2d= | ||
|p2v= | |p2v= | ||
Line 42: | Line 28: | ||
|r1d= | |r1d= | ||
− | |x1= <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 |
|
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