hi
i have 2 problems with monsters in my custom story.
1. problem: i don't want the player to lose sanity when looking at monsters. in the wiki it says
Quote:void SetSanityDrainDisabled(bool abX);
Enables/Disables sanity drain from darkness, monsters, etc
however, it does not work for me. i tried different ways but nothing worked.
void OnStart()
{
AddTimer("t1",1,"sanitydrain");
SetSanityDrainDisabled(true);
}
void sanitydrain(string &in asTimer){
SetSanityDrainDisabled(true);
AddDebugMessage("no sanity drain", false);
}
////////////////////////////
// Run when entering map
void OnEnter()
{
SetSanityDrainDisabled(true);
}
////////////////////////////
// Run when leaving map
void OnLeave()
{
}
2. problem: i want a monster to spawn with his back facing a wall. in the level editor everything looks fine
but ingame the monster is looking at the wall.
how can i solve these problems?