Difference between revisions of "VN fnc revive conversation"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Text replacement - " |a= " to " |author= ")
m (Some wiki formatting)
 
(5 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= global
  
 
|g1= advanced_revive_functions
 
|g1= advanced_revive_functions
  
|d= <pre>/*
+
|d= Main conversation function, remote execs dynamic audio function to clients. Uses [[VN_fnc_revive_dynamic_audio]].
        FILE: fn_revive_conversation.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Main conversation function, remote execs dynamic audio fucntion to clients
 
        PARAMETERS:
 
                (0): OBJECT - The object playing the audio
 
                (1): STRING - The action context to determine which audio to play
 
        RETURNS:
 
                NONE
 
*/
 
 
 
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
 
  
|s= [] call [[VN_fnc_revive_conversation]];
+
|s= [speaker, type] call [[VN_fnc_revive_conversation]]
  
|p1n=
+
|p1n= speaker
|p1t=
+
|p1t= object
|p1d=
+
|p1d= the object playing the audio
 
|p1v=
 
|p1v=
  
|p2n=
+
|p2n= type
|p2t=
+
|p2t= string
|p2d=
+
|p2d= the action context to determine which audio to play. Can be one of:
 +
{{Columns|4|
 +
* "help"
 +
* "heal"
 +
* "unload_player"
 +
* "drag_player"
 +
* "undrag_player"
 +
* "revive"
 +
* "pickup_player"
 +
* "drop_player"
 +
* "load_player"
 +
* "movement"
 +
* "dragged"
 +
* "carried"
 +
* "healed"
 +
* "general"
 +
}}
 
|p2v=
 
|p2v=
  
Line 41: Line 44:
 
|r1d=
 
|r1d=
  
|x1= <code>-</code>
+
|x1= <code>[player, "heal"] call [[VN_fnc_revive_conversation]];</code>
 
}}
 
}}

Latest revision as of 20:18, 26 February 2021

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

Description

Main conversation function, remote execs dynamic audio function to clients. Uses VN_fnc_revive_dynamic_audio.

Syntax

Syntax
[speaker, type] call VN_fnc_revive_conversation
Parameters
speaker: Object - the object playing the audio
type: String - the action context to determine which audio to play. Can be one of:
  • "help"
  • "heal"
  • "unload_player"
  • "drag_player"
  • "undrag_player"
  • "revive"
  • "pickup_player"
  • "drop_player"
  • "load_player"
  • "movement"
  • "dragged"
  • "carried"
  • "healed"
  • "general"
Return value
Nothing

Examples

Example 1
[player, "heal"] call VN_fnc_revive_conversation;