PDA

View Full Version : Hey Modacity does anyone know a script that ends a level?



DarkLord0912
March 13th, 2009, 04:30 PM
I've had some people @ halomaps try to help but alot of them dont quite understand the level end script:confused2:

Here's a script I tried using for a save point>>
(script dormant save_pont1
(sleep_until (= (ai_living_count Elite1) 0) 15) Ignore my small errors this is just a sample but anywho the script compiles fine but when I kill the target there's no save?


Also replacing the last part of the command in the script to where the level is suppose to end nothing happends:
(script startup win
(sleep_until (= (ai_living_count ai_Mercy) 0) 10)
(game_won)
)


Any hints?:confused2:

Mythril
March 13th, 2009, 04:37 PM
Shouldn't it be a continuous script?

leorimolo
March 13th, 2009, 05:55 PM
Shouldn't it be a continuous script?
No

DarkLord0912
March 14th, 2009, 08:04 AM
Hey never mind guys I fixed my own problem thanks any way:cool: