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
Piano scare. Scripting help
Equil Offline
Member

Posts: 94
Threads: 8
Joined: Sep 2010
Reputation: 0
#4
RE: Script Help!

void pianostop(string &in asParent, string &in asChild, int alState)

void GetStartPoint(string &in asParent, string &in asChild, int alState)

{

AddQuest("investigate","Investigate");

PlaySoundAtEntity("", "general_piano02", piano_1", "Player", 0.5f, false);

PlayGuiSound("react_breath_slow", 0.5f);

}

1. void pianostop(string &in asParent, string &in asChild, int alState) // Is basically just floating in the middle of your script without any braces, being { and }

2. PlaySoundAtEntity("", "general_piano02", piano_1", "Player", 0.5f, false); // No quotation at the start of piano_1.

3. PlaySoundAtEntity("", "unlock_door", "mansion_2", 1, false); // Not sure if it's required or not, but I think you're supposed to include the extension for the sound. i.e, "unlock_door.snt"

03-18-2012, 06:00 AM
Find


Messages In This Thread
Piano scare. Scripting help - by EthanLancaster - 03-16-2012, 11:01 PM
RE: Piano scare. Scripting help - by Strembitsky - 03-16-2012, 11:33 PM
RE: Piano scare. Scripting help - by PythonBlue - 03-17-2012, 03:32 AM
RE: Piano scare. Scripting help - by Xanthos - 03-20-2012, 12:30 AM
RE: Script Help! - by Equil - 03-18-2012, 06:00 AM



Users browsing this thread: 1 Guest(s)