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

Posts: 4,093
Threads: 199
Joined: Apr 2006
Reputation: 202
#2
RE: Question about script for sound and forced look

You have to put strings (text) in "" so
PlaySoundAtEntity("ramble", "CH01_DanielRamble_01", "door_1", 0, false);

As it says on the wiki and a ton of other places, get some basic understanding of scripting/programming before trying to script with the game. I suggest googeling javascript tutorials, to get an easy way of reading and testing out a typical script language.
02-18-2011, 09:24 AM
Website Find


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



Users browsing this thread: 1 Guest(s)