Need help making the character look at a door and sanity goes down. - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html) +--- Thread: Need help making the character look at a door and sanity goes down. (/thread-7319.html) |
Need help making the character look at a door and sanity goes down. - ZxBrad - 04-12-2011 I just want my character to spin around and look at the door. I already got that but i want him to get scared and have a little bit of sanity go down. Also i need to know how to make him stop focusing on the door after he spins around. Spoiler below!
RE: Need help making the character look at a door and sanity goes down. - Dalroc - 04-12-2011 Add a PlaySoundAtEntity to Collidedoorslam to make the Player gasp, then add a GiveSanityDamage to remove some sanity. Then use AddTimer to call a function that includes a StopPlayerLookAt. RE: Need help making the character look at a door and sanity goes down. - ZxBrad - 04-12-2011 (04-12-2011, 09:38 PM)Dalroc Wrote: Add a PlaySoundAtEntity to Collidedoorslam to make the Player gasp, then add a GiveSanityDamage to remove some sanity. o.....ok. Thx but wat would i write for the timer mijigger and the stop playerlookat. |