Frictional Games Forum (read-only)

Full Version: Scripting Help.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was wondering if there was any way that I can have a script where the "AddVoiceEffect" script ran when an enemy can't see the player and it stops when it does see the player. Also, is it possible that if the player hides and isn't seen it can resume from where it left off or go to the next line? Thanks alot if you can at least help me in the slightest way.
You can always assign a monster pathnodes with

AddEnemyPatrolNode(string& asName, string& asNodeName, float afWaitTime, string& asAnimation);


You want the enemy to have different voices?
You can copy the enemy, then create a new one and change the voices in the model editor.