Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Checkpoints
Datguy5 Offline
Senior Member

Posts: 629
Threads: 25
Joined: Dec 2011
Reputation: 12
#3
RE: Checkpoints and ambient sounds

(03-04-2012, 05:29 PM)Stepper321 Wrote: I only know the ambience sound thing.

Use this when he enters a script area:


Quote:void PlaySoundAtEntity(string& asSoundName, string& asSoundFile, string& asEntity, float afFadeTime, bool abSaveSound);


Creates a sound on an entity.
asSoundName - internal name
asSoundFile - the sound to use + extension .snt
asEntity - the entity to create the sound at, can be “Player”
afFadeTime - time in seconds the sound needs to fade
abSaveSound - determines whether a sound should “remember” its state. If true, the sound is never attached to the entity! Also note that saving should on be used on looping sounds!
Thank you : ) i know that script but i was kinda confused : D

(This post was last modified: 03-05-2012, 01:44 PM by Datguy5.)
03-04-2012, 05:52 PM
Find


Messages In This Thread
Checkpoints - by Datguy5 - 03-04-2012, 05:11 PM
RE: Checkpoints and ambient sounds - by Datguy5 - 03-04-2012, 05:52 PM
RE: Checkpoints and ambient sounds - by Datguy5 - 03-05-2012, 02:44 PM
RE: Checkpoints and ambient sounds - by trollox - 03-05-2012, 02:55 PM
RE: Checkpoints and ambient sounds - by Datguy5 - 03-05-2012, 03:05 PM
RE: Checkpoints and ambient sounds - by trollox - 03-05-2012, 03:31 PM
RE: Checkpoints and ambient sounds - by Datguy5 - 03-05-2012, 03:40 PM
RE: Checkpoints - by Your Computer - 03-05-2012, 06:06 PM
RE: Checkpoints - by Datguy5 - 03-05-2012, 06:10 PM
RE: Checkpoints - by Your Computer - 03-05-2012, 06:17 PM
RE: Checkpoints - by Datguy5 - 03-05-2012, 06:24 PM
RE: Checkpoints - by Stepper321 - 03-05-2012, 06:34 PM
RE: Checkpoints - by Datguy5 - 03-05-2012, 06:38 PM



Users browsing this thread: 1 Guest(s)