Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Causing sanity damage to yourself
Cgturner Offline
Junior Member

Posts: 28
Threads: 7
Joined: Sep 2010
Reputation: 0
#6
RE: Causing sanity damage to yourself

(09-17-2010, 08:28 AM)jens Wrote: You changed the script here, Void PullLever(string &in lever1, in -1) and that is incorrect. I also noticed my original had an error, it should not say "in" at all for alState so the correct is:

void PullLever(string &in asEntity, alState)

It is meant to be like that, so do not edit that part at all!

To explain: alState can be either 0, -1 or 1 and that is why in the script you say IF alState is -1 or 1 then you should do GiveSanityDamage.

This works very nicely! What script do you use to make the player's head turn at the same time as the insanity effect? I've got a squeal coming from behind the player once he walks into an area, and I want him to look when the noise starts.
09-17-2010, 07:40 PM
Find


Messages In This Thread
Causing sanity damage to yourself - by RaptorRed - 09-17-2010, 06:24 AM
RE: Causing sanity damage to yourself - by jens - 09-17-2010, 06:54 AM
RE: Causing sanity damage to yourself - by jens - 09-17-2010, 08:28 AM
RE: Causing sanity damage to yourself - by Cgturner - 09-17-2010, 07:40 PM
RE: Causing sanity damage to yourself - by jens - 09-20-2010, 07:41 AM
RE: Causing sanity damage to yourself - by jens - 09-21-2010, 06:19 AM



Users browsing this thread: 1 Guest(s)