Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script problem / fatal error
Dalroc Offline
Member

Posts: 57
Threads: 2
Joined: Mar 2011
Reputation: 0
#6
RE: Script problem / fatal error

There is a closing brace for CollideProov. But really the whole script is just a mess.
First and foremost, you can't have a function inside of a function like that, you need to place the TimerDoneLookAt after the CollideProov function. Like this:
PHP Code: (Select All)
void CollideProov (string &in asParentstring &in asChildint alState)
 {
     
StartPlayerLookAt("Sound"510"onlook");
     
AddTimer(""2.5f"TimerDoneLookAt");
     
PlaySoundAtEntity"""react_breath4.ogg""player"0.5f"false");
 }

 
void TimerDoneLookAt(string &in asTimer)
 {
     
StopPlayerLookAt();
 } 
04-29-2011, 04:35 PM
Find


Messages In This Thread
Script problem / fatal error - by Thunderrr - 04-27-2011, 08:37 PM
RE: Script problem / fatal error - by palistov - 04-27-2011, 09:13 PM
RE: Script problem / fatal error - by Thunderrr - 04-29-2011, 03:19 PM
RE: Script problem / fatal error - by palistov - 04-29-2011, 03:42 PM
RE: Script problem / fatal error - by TheHunter - 02-28-2013, 03:39 PM
RE: Script problem / fatal error - by Thunderrr - 04-29-2011, 04:28 PM
RE: Script problem / fatal error - by Dalroc - 04-29-2011, 04:35 PM
RE: Script problem / fatal error - by Thunderrr - 04-29-2011, 05:28 PM
RE: Script problem / fatal error - by palistov - 04-29-2011, 07:15 PM
RE: Script problem / fatal error - by Thunderrr - 04-29-2011, 07:34 PM
RE: Script problem / fatal error - by i3670 - 02-28-2013, 03:42 PM



Users browsing this thread: 1 Guest(s)