persona_override_character_start(name, situation[, audio[, count]])

Parameters:
name (string) name of the NPC
situation (string, or table of strings) persona situation(s) to override (as defined in persona_situations.xtbl)
audio (string, optional) audio file to force play, or "" to override with silence (defaults to "")
count (integer, optional) number of times the override should occur, or -1 to override indefinitely (defaults to -1)
 
Returns:
none

Description:
Override an NPC's persona on a per-situation basis.

The specified audio will play in the specified situation instead of the default voice line(s) defined in persona.xtbl.

 

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