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
Activate Sound entity
jens Offline
Frictional Games

Posts: 4,093
Threads: 199
Joined: Apr 2006
Reputation: 202
#2
RE: Activate Sound entity

You should only place sound entities with the level editor that loops and should be played all the time or until you want to stop them with StopSound.

You use PlaySoundAtEntity to play sounds when you like them to play. So remove SetEntityActive("SoundPiano", true); and do a PlaySoundAtEntity in its place.
10-18-2010, 12:55 PM
Website Find


Messages In This Thread
Activate Sound entity - by anzki - 10-18-2010, 12:11 PM
RE: Activate Sound entity - by jens - 10-18-2010, 12:55 PM
RE: Activate Sound entity - by anzki - 10-18-2010, 01:25 PM
RE: Activate Sound entity - by jens - 10-18-2010, 01:47 PM
RE: Activate Sound entity - by anzki - 10-19-2010, 10:49 AM



Users browsing this thread: 1 Guest(s)