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
Making a scream play when player enters a room?
Austums Offline
Member

Posts: 60
Threads: 11
Joined: Mar 2011
Reputation: 0
#31
RE: Making a scream play when player enters a room?

Okey dokey, I tried adding a FadeIn to my script, but it gave me an error. Am I supposed to edit this at all, or just leave it as is?

void FadeIn(float afTime);


I was guessing that since it's void it doesn't go in onStart or anything, it just goes by itself. Also, why is this "void"? I thought this would be triggered by a script area

void PlayMusic(string& asMusicFile, bool abLoop, float afVolume, float afFadeTime, int alPrio, bool abResume);

and what exactly am I supposed to erase from that script and add my own? Do I keep af(for afVolume) and replace Volume with a number, or do I erase the whole thing?
(This post was last modified: 03-23-2011, 04:15 PM by Austums.)
03-23-2011, 04:08 PM
Find


Messages In This Thread
RE: Making a scream play when player enters a room? - by Austums - 03-23-2011, 04:08 PM



Users browsing this thread: 1 Guest(s)