audio_play_persona_line(name, situation[, distance]) | ||
Parameters: | ||
name | (string) name of character | |
situation | (string) name of persona situation to play (see audio_line_tags.xtbl) | |
distance | (float, optional) distance that the foley can be heard from (0 = short, 1 = normal, 2 = long, 3 = extreme; defaults to -1, which means use the default distance for the situation type) | |
Returns: | ||
(script_id) id used to stop line early | ||
Description: | ||
Make a character play his persona line for a particular situation. | ||
back to index | SR3 Script Action Documentation Last updated: Tue, 09 Aug 2011 11:32:16 |