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
Script for traumatic/fear visual effects
JohnnyMedieval Offline
Junior Member

Posts: 5
Threads: 1
Joined: Aug 2013
Reputation: 0
#5
RE: Script for traumatic/fear visual effects

Thanks again guys. Ok, so this is what I have, please let me know if I've done this right:

void OnStart ()
{
    AddEntityCollideCallback("player", "Area1", "CollideArea1", true, 1)
}

void CollideArea1
{
    void GiveSanityDamage(float 1, true)
}

I'm not sure if I'm supposed to leave "float" in there, or if "1" is the right variable format to set the sanity damage.
(This post was last modified: 08-28-2013, 03:50 PM by JohnnyMedieval.)
08-28-2013, 03:49 PM
Find


Messages In This Thread
RE: Script for traumatic/fear visual effects - by JohnnyMedieval - 08-28-2013, 03:49 PM



Users browsing this thread: 1 Guest(s)