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 »script question

Author Topic: script question (4 messages, Page 1 of 1)
Moderators: Dennis

Sargent 0
Joined: Nov 21, 2017

P.I.M.P.


Posted: Jan 14, 2018 02:43 PM    Msg. 1 of 4       
Does anyone know how to make a script, which kills all actor varients upon their first and second spawn? I'm tired of using cheat_medusa.


Inigo_Montoya
Joined: Jan 13, 2018


Posted: Jan 14, 2018 07:56 PM    Msg. 2 of 4       
Quote: --- Original message by: Sargent 0
Does anyone know how to make a script, which kills all actor varients upon their first and second spawn? I'm tired of using cheat_medusa.





(global AI undesirables MyEncounter)


(script startup killswitch_engage
(sleep_until (> 0(list_count (ai_actors (undesirables)))) 5)
(ai_kill_silent undesirables)
(sleep 15)
(sleep_until (> 0(list_count (ai_actors (undesirables)))) 5)
(ai_kill_silent undesirables)
)




replace myencounter with the ai name


Sargent 0
Joined: Nov 21, 2017

P.I.M.P.


Posted: Jan 14, 2018 08:09 PM    Msg. 3 of 4       
Quote: --- Original message by: Inigo_Montoya
Quote: --- Original message by: Sargent 0
Does anyone know how to make a script, which kills all actor varients upon their first and second spawn? I'm tired of using cheat_medusa.





(global AI undesirables MyEncounter)


(script startup killswitch_engage
(sleep_until (> 0(list_count (ai_actors (undesirables)))) 5)
(ai_kill_silent undesirables)
(sleep 15)
(sleep_until (> 0(list_count (ai_actors (undesirables)))) 5)
(ai_kill_silent undesirables)
)




replace myencounter with the ai name


nvm. I'll just continue using cheat_medusa. Theyres like over 50 encounters in my map


Spartan314
Joined: Aug 21, 2010

Former biped rigger & FP animator


Posted: Jan 21, 2018 08:18 AM    Msg. 4 of 4       
It shouldn't be that much of an effort to copy paste

 

 
Previous Older Thread    Next newer Thread







Time: Wed August 15, 2018 4:37 PM 234 ms.
A Halo Maps Website