audio_play_for_mission_cellphone(conv_name, receiving_call, auto_answer, begin_cb_name, end_cb_name, persona_override_id)

Parameters:
conv_name (string) Name of the conversation to play, minus the persona suffix (e.g. "M23_Mission_Start" rather than "M23_Mission_Start_WM"). Also supports the name of a single persona line.
receiving_call (bool) Whether the player is receiving or making the phone call.
auto_answer (bool) Whether the player should automatically answer if receiving a phone call.
begin_cb_name (string) The Lua callback function to call when the conversation begins (call is answered).
end_cb_name (string) The Lua callback function to call when the conversation ends.
persona_override_id (int) The persona ID to use for single persona lines, defaults to the phone call persona.
 
Returns:
none

Description:
Play a cellphone call and mission conversation.
 

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