VoicePrefix

The prefix of an NPC's voice.

The voice prefix can be found in the related NPC's sentence data script entry located in

.\Postal III\p3\scripts\sentences_data.txt

Note

Everything before the underscore is considered the voice prefix.

Syntax

VoicePrefix:[object] -- Returns the voice prefix of the specified object


// If we don't use the "whore" npc voice prefix
// say a "sentence" type voice line about a cop going crazy
// (whore npc's don't have any lines recorded for this scenario)
IfAttr "VoicePrefix:self != String:WHR Say MADCOP"