Difference between revisions of "VN fnc revive dynamic audio"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |a= " to " |author= ") |
Lou Montana (talk | contribs) (Page filling) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
Line 6: | Line 5: | ||
|author= Ethan Johnson | |author= Ethan Johnson | ||
− | |e= | + | |a= global |
+ | |||
+ | |e= local | ||
|g1= advanced_revive_functions | |g1= advanced_revive_functions | ||
− | |d= | + | |d= Play an audio file including long-distance (up to 200m from camera's position) version if required, works for normal play, Splendid™ Camera & Zeus. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |s= [] call [[VN_fnc_revive_dynamic_audio]] | + | |s= [speaker, soundClass, isLongDistance] call [[VN_fnc_revive_dynamic_audio]] |
− | |p1n= | + | |p1n= speaker |
− | |p1t= | + | |p1t= object |
− | |p1d= | + | |p1d= object that will {{Biki|say3D}} ''soundClass'' |
|p1v= | |p1v= | ||
− | |p2n= | + | |p2n= soundClass |
− | |p2t= | + | |p2t= string |
− | |p2d= | + | |p2d= audio class to `say3d` from the object |
|p2v= | |p2v= | ||
+ | |||
+ | |p3n= isLongDistance | ||
+ | |p3t= boolean | ||
+ | |p3d= if distance audio should be played. Should only use {{Biki|true}} if action is "help" (from [[VN_fnc_revive_conversation]]) | ||
+ | |p3v= | ||
|r1t= | |r1t= | ||
|r1d= | |r1d= | ||
− | |x1= <code> | + | |x1= <code>[driver sogJeep, "helloThere", false] call [[VN_fnc_revive_dynamic_audio]];</code> |
}} | }} |
Latest revision as of 18:02, 30 January 2021
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Ethan Johnson |
|
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;