
DarkLord0912
Joined: Jan 17, 2009
Works on bigger and better things
|
Posted: Mar 1, 2009 03:52 PM
Msg. 1 of 9
I've got gamma 927 to help me out with alot of scripts and I've learned how to do the AI scripts and was wondering if anyone knew a script where the level would end once u killed the cartain AI?
Gamma gave me script I figure I would give him a brake LOL:
(script startup win (sleep_until (= (ai_living_count ai_Mercy) 0) 10) (game_won) )
the problem is that the script compiles fine but when I kill the targeted ai to test it nothing happends??
|
|
|

Ermac
Joined: Nov 24, 2006
Pops up from time to time
|
Posted: Mar 2, 2009 12:10 PM
Msg. 2 of 9
The game_won command takes you to the next map in succession - if your map is either one of the regular campaign maps (a10, a30, a50, b30, b40, c10, c20, c40, d20, d40), or named after one of those maps. If it is not one of these maps, then it'll take you to the earliest regular campaign map that you have (usually a10). If there is no map in your map folder with any of those names, then it simply won't work.
I'd use the map_name command to take you to another map.
|
|
|

DarkLord0912
Joined: Jan 17, 2009
Works on bigger and better things
|
Posted: Mar 2, 2009 04:03 PM
Msg. 3 of 9
so yr saying if I have a campaign map in my maps folder the above script will work?
|
|
|

Ermac
Joined: Nov 24, 2006
Pops up from time to time
|
Posted: Mar 2, 2009 06:05 PM
Msg. 4 of 9
Yeah.
|
|
|

teknoman117
Joined: Jul 21, 2009
|
Posted: Sep 13, 2009 12:54 PM
Msg. 5 of 9
How would you go back to the main menu?
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Sep 13, 2009 12:56 PM
Msg. 6 of 9
Look at post dates before you post. You've bumped 3 - 4 topics by now.
|
|
|

gruntfromhalo
Joined: Nov 21, 2007
actual loli
|
Posted: Sep 13, 2009 12:57 PM
Msg. 7 of 9
Quote: --- Original message by: teknoman117 How would you go back to the main menu? What?
|
|
|

DarkLord0912
Joined: Jan 17, 2009
Works on bigger and better things
|
Posted: Sep 13, 2009 06:05 PM
Msg. 8 of 9
wooooooooooooooooooooooooooooooooooooooooooo this is really old march wow I didn't know squat then my my my how things have changed Hmmmmmmm :P
|
|
|

MasterRyan
Joined: Jul 25, 2008
Leader of Ryan C. Designs!
|
Posted: Sep 14, 2009 03:02 PM
Msg. 9 of 9
so you fixed it?
and is this used for the level "The Oracle" in your Halo 2 Campaign mod by any chance? ;)
|
|
|