Difference between revisions of "VN fnc revive conversation"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Text replacement - "]]; |p1n=" to "]] |p1n=")
m (Some wiki formatting)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:TODO]]
 
 
{{Function
 
{{Function
  
Line 6: Line 5:
 
|author= Ethan Johnson
 
|author= Ethan Johnson
  
|a=
+
|a= global
  
|e=
+
|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:
+
|s= [speaker, type] call [[VN_fnc_revive_conversation]]
                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>
+
|p1n= speaker
 
+
|p1t= object
|s= [] call [[VN_fnc_revive_conversation]]
+
|p1d= the object playing the audio
 
 
|p1n=
 
|p1t=
 
|p1d=
 
 
|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 43: 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;