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
Getting rid of sanity effects?
Patacorow Offline
Member

Posts: 135
Threads: 11
Joined: Jul 2011
Reputation: 3
#3
RE: Getting rid of sanity effects?

(09-07-2011, 06:49 PM)Tanshaydar Wrote: SetSanityDrainDisabled( true);

It works.
Not for me...

Here's my code:

void OnStart()

{
SetSanityDrainDisabled(true);
SetEnemyDisableTriggers("dude",true);
SetEntityPlayerInteractCallback("barrel","dudeme",false);
}

void dudeme(string &in asEntity)
{
SetSanityDrainDisabled(true);
SetPlayerRunSpeedMul(3.0f);
}

Best barrel ever!
(This post was last modified: 09-07-2011, 06:59 PM by Patacorow.)
09-07-2011, 06:58 PM
Find


Messages In This Thread
Getting rid of sanity effects? - by Patacorow - 09-07-2011, 06:48 PM
RE: Getting rid of sanity effects? - by Patacorow - 09-07-2011, 06:58 PM
RE: Getting rid of sanity effects? - by Patacorow - 09-07-2011, 07:12 PM
RE: Getting rid of sanity effects? - by flamez3 - 01-10-2012, 05:02 PM



Users browsing this thread: 1 Guest(s)