Audio::addPedToConversation: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
(yay)
 
Line 1: Line 1:
4 calls in the b617d scripts. The only one with p0 and p2 in clear text:<br><br>AUDIO::ADD_PED_TO_CONVERSATION(5, l_AF, 'DINAPOLI');<br><br>=================================================<br>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.<br>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.
4 calls in the b617d scripts. The only one with p0 and p2 in clear text:<br><br>AUDIO::ADD_PED_TO_CONVERSATION(5, l_AF, 'DINAPOLI');<br><br>=================================================<br>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.<br>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==
==Syntax==
<syntaxhighlight lang="javascript">audio.addPedToConversation(p0, p1, p2);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.audio.addPedToConversation(p0, p1, p2);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''p0:''' unknown (to be checked)
*'''p0:''' unknown (to be checked)

Latest revision as of 21:04, 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

mp.game.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