JenniferOrange 
			Senior Member33  
	
		
			
SCRIPTING PROBLEMS 
 
				I keep getting this error [see attachment] every time I try and load. I've gotten rid of the tokens, added the ';' it wants, and it still complains. -.- Here's my full script:
Spoiler below!  
void OnStart(wakeup())
 
 
thanks to anyone who can help me! D:
			
Attached Files 002.JPG  (Size: 229.13 KB / Downloads: 199)
 
			
Ba-da bing, ba-da boom.
			
		 
 
 
	07-16-2011, 10:07 PM  
		
	 
 
	
		xtron 
			Senior Member2  
	
		
			
RE: SCRIPTING PROBLEMS 
 
				isn't it
void OnStart()
?
			
Dubstep <3 
				
(This post was last modified: 07-16-2011, 10:18 PM by xtron .) 
 
				
			 
		 
 
 
	07-16-2011, 10:18 PM  
		
	 
 
	
		Zypherzemus 
			Member0  
	
		
			
RE: SCRIPTING PROBLEMS 
 
				Woah.. ok.. first off, '(wake up)', that does NOT belong there lol, nothing goes inbetween the parenthesis of OnStart(), OnLeave(), or OnEnter().
and there are extra brackets everywhere. 
Here:
void OnStart()
I had to redo most of the script, there might be some syntax error, i'm not sure, i'm being lazy right now sorry. 
None of the commands belong in a seperate set of brackets like you had it.
EX:
{
AddEntityCollideCallback(blah, blah, blah)
}
It doesn't work that way, these commands will always be in one of the On sections (OnStart, OnEnter, etc.)
The only things that get a bracket are the callback functions themselves.
EDIT: lol, I dunno if I messed it up or not, considering the way you had it.
			
				
(This post was last modified: 07-16-2011, 10:30 PM by Zypherzemus .) 
 
				
			 
		 
 
 
	07-16-2011, 10:28 PM  
		
	 
 
	
		JenniferOrange 
			Senior Member33  
	
		
			
RE: SCRIPTING PROBLEMS 
 
				I'm sorry about putting the wakeup() in the OnStart parenthesis.. I got the script from someone else and the directions said to put that in between a code and I was very clueless.. xD I've made a backup of my original script and have copied Snuffalofagus' script to try out instead, I'll let you know if it works. 
IT WORKS, THANKYOU 
Ba-da bing, ba-da boom.
			
				
(This post was last modified: 07-16-2011, 10:52 PM by JenniferOrange .) 
 
				
			 
		 
 
 
	07-16-2011, 10:45 PM