Say
Make an NPC say a specified "sentence" type voice line.
Uses the name of the sentence in the related NPC's sentence script located in
'.\Postal III\p3\scripts\Sentences'
Syntax
Say [sentence_name]
Say [sentence_name,sentence_name,sentence_name]
-- Say a random sentence out of these (You can specify as many sentence parameters as you want)
Say [sentence_name,priority,wait]
-- Say sentence with priority, and wait until the end
TODO
Need to make sure that the fourth parameter is even actually the sentence priority!
Need to make sure what the wait parameter actually does specifically!
Note
You can specify as many sentences parameters as you want!
The voice prefix is not required, GAY_ONFIRE
can lose the GAY_
part and instead just be ONFIRE
for example...
Warning
If you want the PLAYER to say something you must EntFireInput logic_playerproxy
to do a generic say instead, like so: EntFireInput proxy,Say:SENTENCENAME
Example
// Say a voice line...
Say ZOMB_MOAN
// Pick and say one of these voice lines randomly...
Say ZOMB_MOAN,ZOMB_CURSE,ZOMB_HIT
// Pick and say one of these voice lines randomly,
// and specify the optional sentence priority parameter
Say ZOMB_MOAN,ZOMB_CURSE,ZOMB_HIT,0
// Pick and say one of these voice lines randomly,
// specify the optional sentence priority parameter,
// and wait for the end of the sentence
Say ZOMB_MOAN,ZOMB_CURSE,ZOMB_HIT,0,wait