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
Soundentities restart when leaving area.
goodcap Offline
Member

Posts: 193
Threads: 112
Joined: Jun 2012
Reputation: 3
#1
Soundentities restart when leaving area.

I made a sound entity, it plays music. When you leave the max distance of the area and go back into the area the sound entity restarts playing the music from the beginning....how can I change it so the music continues playing instead of restarting?
05-21-2014, 11:52 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#2
RE: Soundentities restart when leaving area.

What did you use to call it? I think in PlaySoundAtEntity, the last parameter is a boolean for whether you want it to "remember" its state. Use false.

(This post was last modified: 05-22-2014, 12:02 AM by Mudbill.)
05-22-2014, 12:02 AM
Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#3
RE: Soundentities restart when leaving area.

And for PlayMusic is abResume=true

05-22-2014, 12:47 AM
Find
goodcap Offline
Member

Posts: 193
Threads: 112
Joined: Jun 2012
Reputation: 3
#4
RE: Soundentities restart when leaving area.

Thanks guys
(This post was last modified: 05-22-2014, 12:55 PM by goodcap.)
05-22-2014, 12:18 PM
Find




Users browsing this thread: 1 Guest(s)