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
jens Offline
Frictional Games

Posts: 4,093
Threads: 199
Joined: Apr 2006
Reputation: 202
#5
RE: Causing sanity damage to yourself

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, int 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 post was last modified: 09-21-2010, 06:20 AM by jens.)
09-17-2010, 08:28 AM
Website 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 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: 4 Guest(s)