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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Playsound at SetEntityPlayerlookatCallback?
Tiger Away
Posting Freak

Posts: 1,874
Threads: 16
Joined: Nov 2012
Reputation: 55
#3
RE: Playsound at SetEntityPlayerlookatCallback?

still doesn't work :/

Spoiler below!

OnStart()
{
SetEntityPlayerLookAtCallback("ScriptArea_1", "ScreamTrigger", true);
}

void ScreamTrigger(string &in asEntity, int alState)
{
PlaySoundAtEntity("", "21_scream5.snt", "stove_1", 0.8f, false);
GiveSanityDamage(10, false);
}

hej på dig också.
(This post was last modified: 02-02-2013, 10:57 PM by Tiger.)
02-02-2013, 10:49 PM
Find


Messages In This Thread
RE: Playsound at SetEntityPlayerlookatCallback? - by Tiger - 02-02-2013, 10:49 PM



Users browsing this thread: 2 Guest(s)