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 »I'm looking for a script

Author Topic: I'm looking for a script (3 messages, Page 1 of 1)
Moderators: Dennis

Dumb AI
Joined: Sep 18, 2011

Dead.


Posted: May 23, 2013 07:06 PM    Msg. 1 of 3       
Something like this

SCRIPT FIXED
(script script-type-here drop_pod
(ai_actors odst)
(ai_place odst)
(object_create drop_pod)
(vehicle_load_magic drop_pod "" odst)
)

That may or may not work.

Edited by Dumb AI on May 23, 2013 at 07:12 PM


Dumb AI
Joined: Sep 18, 2011

Dead.


Posted: May 23, 2013 07:09 PM    Msg. 2 of 3       
Yes, it should. As for script type, it varies.

Is it gonna drop at the start of the map or sometime later?


Dumb AI
Joined: Sep 18, 2011

Dead.


Posted: May 23, 2013 07:15 PM    Msg. 3 of 3       
I guess the type should either be dormant or continuous.

(script continuous drop_pod
(sleep_until (<= (ai_living_count ai-encounter) 0))
(ai_actors odst)
(ai_place odst)
(object_create drop_pod)
(vehicle_load_magic drop_pod "" odst)
)

ai_actors converts the AI encounter into an object list for vehicle_load_magic to work.

(vehicle_load_magic vehicle-name seat-name object-list)

You don't have to worry about seats in this case. "" fills in all seats.

Edited by Dumb AI on May 23, 2013 at 07:18 PM

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 11:12 PM 141 ms.
A Halo Maps Website