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
Help me with scripts
JetlinerX Offline
Senior Member

Posts: 599
Threads: 49
Joined: Jun 2011
Reputation: 19
#4
RE: Help me with scripts

Allow me to elaborate:
1. Use this code (assuming you know how to work AddEntityCollideCallback, add this under the void:
PlaySoundAtEntity(string& asSoundName, string& asSoundFile, string& asEntity, float afFadeTime, bool abSaveSound);
Example:
PlaySoundAtEntity("", "react_scare", "Player", 0, false);
So thats gona play the "react_scare" at the "Player" when they walk across the area. (Area, scripted in the AddEntitlyCollideCallback)

2. Dunno yet.

3. Level Editor has fog areas

4. Tip: If it doesnt feel creepy to you, it wont feel much more creepy to the player.

Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

08-20-2011, 03:47 PM
Website Find


Messages In This Thread
Help me with scripts - by fuytko - 08-19-2011, 02:07 PM
RE: Help me with scripts - by xtron - 08-19-2011, 02:10 PM
RE: Help me with scripts - by Elven - 08-19-2011, 02:58 PM
RE: Help me with scripts - by JetlinerX - 08-20-2011, 03:47 PM
RE: Help me with scripts - by darkside - 08-20-2011, 03:55 PM
RE: Help me with scripts - by Phoroneus - 08-21-2011, 04:46 AM
RE: Help me with scripts - by JetlinerX - 08-20-2011, 03:57 PM
RE: Help me with scripts - by Khan - 08-20-2011, 06:42 PM
RE: Help me with scripts - by xtron - 08-20-2011, 07:31 PM
RE: Help me with scripts - by fuytko - 08-20-2011, 09:34 PM
RE: Help me with scripts - by JetlinerX - 08-21-2011, 12:06 AM
RE: Help me with scripts - by fuytko - 08-21-2011, 01:02 AM
RE: Help me with scripts - by JetlinerX - 08-21-2011, 01:08 AM
RE: Help me with scripts - by JetlinerX - 08-21-2011, 08:03 AM



Users browsing this thread: 1 Guest(s)