Difference between revisions of "VN ms fnc sfx radioHint"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Text replacement - " |e=" to " |a= |e=")
(Page filling)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
 
{{Function
 
{{Function
  
Line 6: Line 5:
 
|author= Wyqer, veteran29
 
|author= Wyqer, veteran29
  
|a=
+
|a= global
  
|e=
+
|e= global
  
 
|g1= sfx
 
|g1= sfx
  
|d= <pre>/*
+
|d= Plays given radio hint to given group. Requires a hint entity in the mission. Uses [[VN_ms_fnc_sfx_playRadioConv]].
    Author: Wyqer, veteran29
 
    Date: 2019-08-01
 
 
 
    Description:
 
        Plays given radio hint to given group.
 
 
 
    Parameter(s):
 
        _mission    - Number of the mission                                     [STRING, defaults to ""]
 
        _hint      - Number of the hint                                        [STRING, defaults to ""]
 
        _grp        - The group(s) to which the message should be broadcasted  [GROUP or ARRAY, defaults to grpNull]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
  
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
+
|s= [missionId, hintId, group] call [[VN_ms_fnc_sfx_radioHint]]
  
|s= [] call [[vn_ms_fnc_sfx_radioHint]];
+
|p1n= missionId
 
+
|p1t= string
|p1n=
+
|p1d= mission number
|p1t=
 
|p1d=
 
 
|p1v=
 
|p1v=
  
|p2n=
+
|p2n= hintId
|p2t=
+
|p2t= string
|p2d=
+
|p2d= hint identifier
 
|p2v=
 
|p2v=
  
|r1t=
+
|p3n= group
|r1d=
+
|p3t= {{Biki|Group}} or {{Biki|Array}}
 +
|p3d= the group to receive the hint
 +
|p3v= grpNull
 +
 
 +
|r1t= boolean
 +
|r1d= function's success
  
|x1= <code>-</code>
+
|x1= <code>["01", "05", sogGroup] call [[VN_ms_fnc_sfx_radioHint]];</code>
 
}}
 
}}

Latest revision as of 22:02, 23 February 2021

← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Wyqer, veteran29
Argument(s): global
Effect(s): global

Description

Plays given radio hint to given group. Requires a hint entity in the mission. Uses VN_ms_fnc_sfx_playRadioConv.

Syntax

Syntax
[missionId, hintId, group] call VN_ms_fnc_sfx_radioHint
Parameters
missionId: String - mission number
hintId: String - hint identifier
group: Group or Array - (Optional, default grpNull) the group to receive the hint
Return value
Boolean - function's success

Examples

Example 1
["01", "05", sogGroup] call VN_ms_fnc_sfx_radioHint;