UseSentence
and UnUseSentence
which can be used to specify what they say when asked to follow/stop following the player. So setting UseSentence
to !BA_MAD0
results in a barney that says "step off, buddy" when asked to follow. (He will still follow anyway, you need to override his AI with a scripted_sequence
.)If you want him to say nothing at all, you could create a new sentence in a custom sentences.txt that makes him "say" a .wav with only silence in it.
Note: avoid editing the sentences.txt in the
../Half-Life/valve/sound
folder directly, as those are the sentences used in the main game. You'll need to distribute the custom sentences.txt with your content, in your_mod/sound
if it's a mod, or valve_addon/sound
if it's an addon pack.