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 General Discussion »Hey can someone tell me whats wrong with this simple script?

Author Topic: Hey can someone tell me whats wrong with this simple script? (9 messages, Page 1 of 1)
Moderators: Dennis

DarkLord0912
Joined: Jan 17, 2009

Works on bigger and better things


Posted: Feb 27, 2009 06:18 PM    Msg. 1 of 9       
Okay I got a ai spawn scripts working thanks to gamma 927 And so I used Easy halo scripter V2 to help with a simple trigger volume spawn vehicle since I wasn't familiar with that type yet and when I give halo scripter the info it makes the script etc and sapien says:

[spawn_vehicle line 4] this is not a valid object name.: mp_warthog)

02.27.09 17:14:09 recompiling scripts after scenarios were merged.
02.27.09 17:14:09 [spawn_vehicle line 2] this left parenthesis is unmatched.: (begin

I get that bottom line alot and was wondering if someone can tell me how to fix that so I dont clutter halomaps LOL


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Feb 27, 2009 07:01 PM    Msg. 2 of 9       
Easy. You didn't name the warthog mp_warthog. You actually have to create a mp_warthog, and name it mp_warthog.


DarkLord0912
Joined: Jan 17, 2009

Works on bigger and better things


Posted: Feb 27, 2009 07:21 PM    Msg. 3 of 9       
so ur sayingwhen the scroll down box it doesn't use the name mp_warthog??? So do I name it mp_warthog in the slot below it that say's name??


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Feb 27, 2009 07:21 PM    Msg. 4 of 9       
No no no. In the scroll down box, that's the TYPE of vehicle. You have to name it in the box below.


DarkLord0912
Joined: Jan 17, 2009

Works on bigger and better things


Posted: Feb 27, 2009 07:42 PM    Msg. 5 of 9       
Hey thanks Gamma927 I learn something new from u every day.... what if I wanted to use the same script on another vehicle does anything change?? Like the top of the script or anything and if u answer that it should be all thanks for everything////


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Feb 27, 2009 07:52 PM    Msg. 6 of 9       
Give each vehicle a different name, and refer to each one by it's name. Think of it this way: I have two dogs. Both are the exact same species, gender, whatever (please don't arrest me for cloning). You give each one a different name, and refer to each by its name. If one's called Bob, and the other Joe, and you wanted Bob to do something, you would tell it to do something by using its name. Same with vehicles. Name each, and refer to them by their names.


DarkLord0912
Joined: Jan 17, 2009

Works on bigger and better things


Posted: Feb 28, 2009 04:19 PM    Msg. 7 of 9       
Hey Gamma is there a script u can make where a single player map ends after the player kills a certain enemy?


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Feb 28, 2009 05:51 PM    Msg. 8 of 9       

(script startup win
(sleep_until ( =(ai_living_count [ai encounter]) 0) 15)
(game_won)
)


DarkLord0912
Joined: Jan 17, 2009

Works on bigger and better things


Posted: Feb 28, 2009 06:02 PM    Msg. 9 of 9       
Hey thanks gamma927 u always help nice..... the airforce gets pretty lame sometimes...

Any way thanks

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 1:41 PM 156 ms.
A Halo Maps Website