Audio::addPedToConversation: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
(yay)
Line 10: Line 10:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Audio_function_c}}
{{Audio_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 20:59, 6 May 2017

4 calls in the b617d scripts. The only one with p0 and p2 in clear text:

AUDIO::ADD_PED_TO_CONVERSATION(5, l_AF, 'DINAPOLI');

=================================================
One of the 2 calls in dialogue_handler.c p0 is in a while-loop, and so is determined to also possibly be 0 - 15.
Based on it asking if does_entity_exist for the global I have determined that p1 is, in fact, the ped, but could be wrong.

Syntax

audio.addPedToConversation(p0, p1, p2);

Required Arguments

  • p0: unknown (to be checked)
  • p1: unknown (to be checked)
  • p2: String

Return value

  • Undefined

Example

// todo

See also