Need help making the character look at a door and sanity goes down.
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!
////////////////////////////
// Run first time starting map
void OnStart()
RE: Need help making the character look at a door and sanity goes down.
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.
(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.
Then use AddTimer to call a function that includes a StopPlayerLookAt.
o.....ok. Thx but wat would i write for the timer mijigger and the stop playerlookat.