
Blublaze94
Joined: Apr 2, 2013
|
Posted: May 11, 2013 01:44 PM
Msg. 1 of 12
So, I have a simple script here... and I have tried everything I know to do given the resources I can find on google... the scripting bible... posts on here, etc. But I still can't figure out why I am getting this error: "[vehiclespawn line 1] this parenthesis is unmatched.: [script startup vehiclespawn"
And here is the code I have in my data folder's script folder for the level I want saved as "vehiclespawn.hsc"
Here's the code:
(script startup vehiclespawn (object_create_anew test) )
I'm pretty new to scripting... but I am pretty sure for every right parenthesis there I have a left one to match, so what am I doing wrong? Do I need a master set to show the end of the script or something? Thanks for any help.
|
|
|

MatthewDratt
Joined: Sep 11, 2010
TAKEDOWN IS OUT MattDratt.com
|
Posted: May 11, 2013 02:22 PM
Msg. 2 of 12
Is this all you have in your scripts folder or are there more scripts?
|
|
|

Blublaze94
Joined: Apr 2, 2013
|
Posted: May 11, 2013 02:42 PM
Msg. 3 of 12
I'm pretty sure that's the only script I have in the folder. I've checked it twice... but I've noticed this weird thing with sapien and guerilla whenever I delete something out of my tags folder or data folder, sometimes they will still show up in guerilla or sapien, or the changes won't seem to have been made when browsing for files... but when I go back to check outside of the programs it's not there... usually it fixes itself, but there has been a time or two where I have had to reinstall HEK.
I double checked, and yes, this script is the only script in my entire data folder, let alone the single scripts folder for my level. So any idea what could be causing this?
|
|
|

MatthewDratt
Joined: Sep 11, 2010
TAKEDOWN IS OUT MattDratt.com
|
Posted: May 11, 2013 02:44 PM
Msg. 4 of 12
Are you sure your vehicle is named test?.....
|
|
|

Blublaze94
Joined: Apr 2, 2013
|
Posted: May 11, 2013 02:46 PM
Msg. 5 of 12
Yeah, pretty sure. I created an object called "test" in the scenario, and then chose the according vehicle I wanted to be represented as "test" like you would normally. Still though, would that cause the parenthesis problem?
|
|
|

altis94
Joined: Oct 5, 2012
Join my Discord https://discord.gg/GDVEaRD
|
Posted: May 11, 2013 02:55 PM
Msg. 6 of 12
Script seems fine to me but try adding another ) at the end.
|
|
|

Blublaze94
Joined: Apr 2, 2013
|
Posted: May 11, 2013 02:55 PM
Msg. 7 of 12
I already tried that, it still gives me the same error... any other ideas?
|
|
|

kirby_422
Joined: Jan 22, 2006
Apparently public enemy number 1?
|
Posted: May 11, 2013 05:04 PM
Msg. 8 of 12
Quote: --- Original message by: Blublaze94 I've noticed this weird thing with sapien and guerilla whenever I delete something out of my tags folder or data folder, sometimes they will still show up in guerilla or sapien, or the changes won't seem to have been made when browsing for files... but when I go back to check outside of the programs it's not there... usually it fixes itself, but there has been a time or two where I have had to reinstall HEK. Run every HEK program as administrator. Your not actually effecting the real files. When editing the script, also run notepad as administrator.
|
|
|

Blublaze94
Joined: Apr 2, 2013
|
Posted: May 11, 2013 08:15 PM
Msg. 9 of 12
Okay. Thanks Kirby, that helped me with one annoying problem... BUT I am still having the problem with my script. I even switched over to my XP partition to see if maybe it was a compatibility issue, but I am having the same problem still! I have NO idea what I am doing wrong. ):
|
|
|

kirby_422
Joined: Jan 22, 2006
Apparently public enemy number 1?
|
Posted: May 11, 2013 08:33 PM
Msg. 10 of 12
Quote: --- Original message by: Blublaze94 Okay. Thanks Kirby, that helped me with one annoying problem... BUT I am still having the problem with my script. I even switched over to my XP partition to see if maybe it was a compatibility issue, but I am having the same problem still! I have NO idea what I am doing wrong. ): Did you check the script over on the XP partition, as well as checking that the object name is indeed assigned to an object in the scenario you have open over in XP?
|
|
|

Blublaze94
Joined: Apr 2, 2013
|
Posted: May 13, 2013 02:53 AM
Msg. 11 of 12
I actually figured out my problem, a typo actually... object name was wrong... but still yet what I was going for didn't happen. I was writing a script for the xbox version of Halo in order to spawn more than 3 vehicles... nothing happened... just simply didn't show up.
|
|
|

OrangeJuice
Joined: Jan 29, 2009
Documentation and debug.txt
|
Posted: May 13, 2013 03:05 AM
Msg. 12 of 12
I think script has to be capitalized
(Script.....
|
|
|