Difference between revisions of "VN fnc revive conversation"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |e=" to " |a= |e=") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(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 | ||
− | |a= | + | |a= global |
− | |e= | + | |e= global |
|g1= advanced_revive_functions | |g1= advanced_revive_functions | ||
− | |d= | + | |d= Main conversation function, remote execs dynamic audio function to clients. Uses [[VN_fnc_revive_dynamic_audio]]. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |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 43: | Line 44: | ||
|r1d= | |r1d= | ||
− | |x1= <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 |
|
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;