audio_play_conversation(dialog_stream[, cellphone_call])

Parameters:
dialog_stream (table) dialog stream segments that consist of a speaking character name, the name of the audio to play, and a delay in seconds between each dialog segment (character name is not necessary for cellphone calls)
cellphone_call (enumeration, optional) type of cellphone call (can be NOT_CALL, OUTGOING_CALL, or INCOMING_CALL; defaults to NOT_CALL)
 
Returns:
none

Description:
Play a conversation, which consists of a series of lines played by characters.

For cellphone calls, this function also takes care of cellphone animations.

Example:

   FLEEING_LIEUTENANTS_DIALOG_STREAM = {
      { "SOS3_FLEE_L1", TOBIAS_NAME, 0 },
      { "SOS3_FLEE_L2", LOCAL_PLAYER, 0 }
   }
   audio_play_conversation( FLEEING_LIEUTENANTS_DIALOG_STREAM, NOT_CALL )

Plays "SOS3_FLEE_L1" from Tobias and then "SOS3_FLEE_L2" from the local player.

 

back to indexSR3 Script Action Documentation
Last updated: Tue, 09 Aug 2011 11:32:16