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 aint working
DarkEagle Offline
Junior Member

Posts: 15
Threads: 3
Joined: Jun 2011
Reputation: 0
#2
RE: Script aint working

void OnStart()
{
AddEntityCollideCallback("Player" , "scare1" , "insanity_increase1" , true , 1);
}

void insanity_increase1(string &in asParent, string &in asChild, int alState)
{
    PlaySoundAtEntity("", "react_scare.snt", "Player", 0, false);
    GiveSanityDamage(5.0f, true);
    PlayMusic("05_event_steps.ogg", false, 80, 0, 10, false);
}

Maybe, now? Smile

Some time's people aren't people!
In Developement:Dark Path 13%
(This post was last modified: 06-09-2011, 07:25 PM by DarkEagle.)
06-09-2011, 07:25 PM
Find


Messages In This Thread
Script aint working - by xtron - 06-09-2011, 07:13 PM
RE: Script aint working - by DarkEagle - 06-09-2011, 07:25 PM
RE: Script aint working - by WatzUpzPeepz - 06-09-2011, 09:03 PM



Users browsing this thread: 2 Guest(s)