Frictional Games Forum (read-only)

Full Version: Disable Enemy effects?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am using the movable gent and when you look at him you get the effect when you look at an enemy. How do i disable that effect? Disable Triggers and Hallucination are the only options I can pick from.
I think you must edit the game.cfg file for a full conversion mod to do that. Isn't it possible to make the gent an NPC rather than an enemy?
To turn off the sanity drain, use:
PHP Code:
SetSanityDrainDisabled(true); 

But really... I would oppose to Mudbill, because since 1.3 we have:
PHP Code:
SetEnemySanityDecreaseActive("enemyName"false); 
That is most likely what you're looking for.
As long as that one removes the blur effect while looking at the enemy, then it's good to go!

Despite being the one to list every one of the 1.3 functions on the engine scripts, I hardly remember them.