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 »AI Question

Author Topic: AI Question (5 messages, Page 1 of 1)
Moderators: Dennis

FtDSpartn
Joined: May 1, 2009

Verified AI.


Posted: Jul 30, 2009 10:26 PM    Msg. 1 of 5       
How would you make it so when a encounter is dead,another encounter gets placed? Thanks.


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Jul 30, 2009 10:55 PM    Msg. 2 of 5       
Scripts.


(script continuous replace
(if
(= (ai_living_count [AI]) 0)
(begin
(ai_place [AI])
)
)
)


This is if you want it to continuously re-create once they die. If you want it to be a one time thing, use a startup script and a sleep_until.


FtDSpartn
Joined: May 1, 2009

Verified AI.


Posted: Jul 30, 2009 11:01 PM    Msg. 3 of 5       
I want it so when you kill covie1, covie2 spawns like a mile ahead of you,except i dont nkow how to set it up...would it be
(script startup Ai_spawn2
(begin
(sleep_until (ai_living_count (ai_actors covie1)) 15)
(ai_place covie2)
)
)


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Jul 30, 2009 11:14 PM    Msg. 4 of 5       

(script startup ai_spawn2
(sleep_until (= (ai_living_count covie_1) 0) 15)
(ai_place covie2)
)


FtDSpartn
Joined: May 1, 2009

Verified AI.


Posted: Jul 30, 2009 11:25 PM    Msg. 5 of 5       
Thanks!

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 9:09 PM 94 ms.
A Halo Maps Website