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.
Hey all,

i wanna ask you, cause i cannot find it out by trying and testing..., how to do that.
There are 2 monsters, left and right, and they don't attack you (they are "friendly") and the "monster-hunt-you-music is also not running. I need it very quickly now! Please help!



GReeZe' P44
Well, you could try this.

Put this into your map: entities/ttp/servant_grunt_nomusic

Then, click that grunt and select "Entity" and check the DisableTriggers box. Now your monster does not react to the player in anyway and the music is also not playing. You can set pathnodes to your monster normally.
I found it out much easier!:

SetEnemyDisableTriggers("enemy2_1", true);
Put this into your .hps file like this:
void OnStart()
{
SetEntityActive("enemy2_1", true);
SetEnemyDisableTriggers("enemy2_1", true);
AddEnemyPatrolNode("enemy2_1", "PathNodeArea_1", 0, "idle.anm");
}

But thanks for your help bud.
Turn sanity drain off too, right?
Turning the Sanity Drain off only reduces darkness sanity reduction. Meaning that if you are in pitch dark room, your sanity will not decrease. But whenever you are watching monster, your sanity will reduce and effects will appear. Except if you make full conversion OR set sanity back to 100 in every x seconds via scripting.

Its just little bit info.

Also, you can use normal grunts as well, disable triggers as stated above and overwrite the music with other (maybe empty?) music with extreme priority.