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
Level ambience
Xallikk Offline
Junior Member

Posts: 35
Threads: 7
Joined: Jun 2016
Reputation: 0
#3
RE: Level ambience

Would it just look like this then?

void OnStart()
{
AddEntityCollideCallback("Player", "AmbienceWind", "Level2", true, 1);
}


void Level2(string &in asParent, string &in asChild, int alState)
{
PlaySoundAtEntity("windsound", "ambience_wind_eerie.snt", "AmbienceWind", 0.01f, true);
}

The ones at the front always die first...
06-05-2016, 05:28 PM
Find


Messages In This Thread
Level ambience - by Xallikk - 06-05-2016, 06:11 AM
RE: Level ambience - by Romulator - 06-05-2016, 07:59 AM
RE: Level ambience - by Xallikk - 06-05-2016, 05:28 PM
RE: Level ambience - by Daemian - 06-05-2016, 06:25 PM
RE: Level ambience - by Xallikk - 06-05-2016, 07:35 PM



Users browsing this thread: 1 Guest(s)