A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE Technical / Map Design »Custom Vehicle Script Error

Author Topic: Custom Vehicle Script Error (5 messages, Page 1 of 1)
Moderators: Dennis

Spartan314
Joined: Aug 21, 2010

Former biped rigger & FP animator


Posted: Jan 29, 2011 11:28 PM    Msg. 1 of 5       
I'm compiling my map, when this showed up.

01.30.11 17:22:49 [script line 2] this is not a valid object name.: hornet 1)
01.30.11 17:22:49 recompiling scripts after scenarios were merged.
01.30.11 17:22:49 [script line 1] this left parenthesis is unmatched.: (script startup vehiclespawn

I used this script.

(script startup vehiclespawn
(object_create_anew hornet 1)
(object_create_anew hornet 2)
)

And yes, i did give the hornets names in sapien.
what should i do?


jackotheblah
Joined: Jan 5, 2011

uthink ur lag is bad,takes jesus 3 days to respawn


Posted: Jan 29, 2011 11:42 PM    Msg. 2 of 5       
try no spaces in the names like hornet_1


Spartan314
Joined: Aug 21, 2010

Former biped rigger & FP animator


Posted: Jan 30, 2011 10:47 PM    Msg. 3 of 5       
thanks, i just took away the space and made them both hornet1 and hornet 2, and it worked


XlzQwerty1
Joined: Aug 6, 2009


Posted: Jan 31, 2011 06:03 PM    Msg. 4 of 5       
next time a name with spaces should be included inside quotation marks for example "hornet 1" because halo thinks hornet is a complete different command than 1

hornet 1= hornet, 1
"hornet 1"= hornet 1


MoooseGuy
Joined: Aug 10, 2008

I Approve This Message.


Posted: Jan 31, 2011 06:09 PM    Msg. 5 of 5       
Yes, use quotes for names with spaces. But I would recommend getting in the habit of using underscores anyway, so you don't have to figure it all out later. I usually name my objects without spaces or underscores, i.e. Hornet1.

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 12:10 AM 141 ms.
A Halo Maps Website