goodcap
Member
Posts: 193
Threads: 112
Joined: Jun 2012
Reputation:
3
|
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 |
|
Mudbill
Muderator
Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation:
179
|
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 |
|
Daemian
Posting Freak
Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation:
49
|
RE: Soundentities restart when leaving area.
And for PlayMusic is abResume=true
|
|
05-22-2014, 12:47 AM |
|
goodcap
Member
Posts: 193
Threads: 112
Joined: Jun 2012
Reputation:
3
|
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 |
|