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
Script Help Please
DaAinGame Offline
Member

Posts: 90
Threads: 11
Joined: Mar 2012
Reputation: 4
#2
RE: Script Help Please

void func_slam(string &in asParent, string &in asChild, int alState)
}

Nothing comes after this? And notice that your brackets are messed up there. Try this:

void func_slam(string &in asParent, string &in asChild, int alState)
{
}


PlaySoundAtEntity("", "react_scare", "Player", 0, false); PlaySoundAtEntity("", "close_door.snt", "Player", 0, false);

Whats up here? You should press the return button in between the PlaySounds, so it's like this.

PlaySoundAtEntity("", "react_scare", "Player", 0, false);
PlaySoundAtEntity("", "close_door.snt", "Player", 0, false);

Other then that everything looks good. No missing semi-colons or quotes.



Realm Of Another Chapter 1: http://www.frictionalgames.com/forum/thread-14142.html
Realm Of Another Chapter 2: Postponed
Adder Halls: 5%
(This post was last modified: 03-28-2012, 05:13 AM by DaAinGame.)
03-28-2012, 05:11 AM
Find


Messages In This Thread
Script Help Please - by EthanLancaster - 03-28-2012, 03:20 AM
RE: Script Help Please - by DaAinGame - 03-28-2012, 05:11 AM
RE: Script Help Please - by Adrianis - 03-28-2012, 02:27 PM



Users browsing this thread: 1 Guest(s)