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
Question about script for sound and forced look
Vradcly Offline
Member

Posts: 100
Threads: 6
Joined: Jan 2011
Reputation: 0
#3
RE: Question about script for sound and forced look

PlaySoundAtEntity("ramble", "CH01_DanielRamble_01.ogg", "door_1", 0.0f, false);
this if the correct way (except some sounds can have more complicated pathways and in some cases there is a difference in .snt and .ogg files, I havent identified the pattern though..) So if this does not work try another sound file just to make sure that is not the error Smile.
Its always "text" in this kind of script things and the numbers 0.0f is usually a float variable (meaning its best to give it one decimal and the letter f after).
02-18-2011, 09:28 AM
Find


Messages In This Thread
RE: Question about script for sound and forced look - by Vradcly - 02-18-2011, 09:28 AM



Users browsing this thread: 1 Guest(s)