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 Help Script Box help
liquiddr3amz Offline
Junior Member

Posts: 14
Threads: 5
Joined: Nov 2012
Reputation: 0
#5
RE: Script Box help

void OnStart()

{
AddEntityCollideCallback("Player", "foot7", "step7", true, 1);

}

void Sound (string &in asParent, string &in asChild, int alState)

{
PlaySoundAtEntity("", "step_walk_wood.snt", "step7", 0.1, true);
}

NOTE; my script area is called foot7
my Sound name is step7

i RE ran the script using a differnt sound, what is happening is sound just gets activated befor i am even close to the script area, any reasons why?
(This post was last modified: 12-06-2012, 05:20 AM by liquiddr3amz.)
12-06-2012, 05:05 AM
Find


Messages In This Thread
Script Box help - by liquiddr3amz - 12-04-2012, 05:44 PM
RE: Script Box help - by FlawlessHappiness - 12-04-2012, 05:54 PM
RE: Script Box help - by The chaser - 12-04-2012, 05:59 PM
RE: Script Box help - by liquiddr3amz - 12-04-2012, 06:21 PM
RE: Script Box help - by liquiddr3amz - 12-06-2012, 05:05 AM
RE: Script Box help - by FlawlessHappiness - 12-06-2012, 06:49 AM



Users browsing this thread: 1 Guest(s)