Vn_ms_fnc_sfx_playRadioConv

From Savage Game Design Wiki
Revision as of 22:45, 4 May 2022 by Slow (talk | contribs) (Created page with "{{Function |v= 1.00 |author=Wyqer, veteran29 |a= |e= |g1= sfx |d= <pre>Plays the given radio message via text and audio from the given entity.</pre> |s= [_text,_sound,_en...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Wyqer, veteran29
Argument(s): n/a
Effect(s): unknown

Description

Plays the given radio message via text and audio from the given entity.

Syntax

Syntax
[_text,_sound,_entity,_global,_isRadio,_diaryEntry] call vn_ms_fnc_sfx_playRadioConv;
Parameters
_text: String - (Optional, default "") Localization key for text
_sound: String - (Optional, default "") Configname of the audio message
_entity: Object - (Optional, default objNull) Entity to play the message from
_global: Boolean - (Optional, default false) Switch to use global channel instead of side channel
_isRadio: Boolean - (Optional, default true) Switch to either play it via radio or sound
_diaryEntry: Boolean - (Optional, default true) Should message be added to the diary/conversation log
Return value
Boolean - Function reached the end