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 »Need AI script

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

Dr Pepper And 7up Inc
Joined: Dec 23, 2008

deactivated


Posted: Jan 24, 2009 09:06 PM    Msg. 1 of 4       
I need script for an encounter to enter a vehicle called "ghost"


Polamee
Joined: Feb 25, 2008

MP2SPMT's founder


Posted: Jan 24, 2009 09:27 PM    Msg. 2 of 4       
What? You mean all the AI go into a single vehicle?

You don't need a script, just a command list.


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Jan 24, 2009 09:36 PM    Msg. 3 of 4       
Unless the AI is retarded, and won't get in. Here's the script:

(vehicle_load_magic [vehicle] [seats] [ai / biped])

The vehicle part is self explanatory. The seat is the seat that you want the ai to get into, such as W-driver for the driver of the warthog, and W-gunner for the gunner. Use "" if you want to load them all. For ai, either create a biped, and attach it to an encounter, and use that, or use the following:

(ai_actors [encounter]/[squad])


I'm sure you can figure it out. So if I had a vehicle named hoggy, and I wanted the driver seat filled with an encounter named driver, and a squad named squad, I would type:

(vehicle_load_magic hoggy "" (ai_actors driver/squad))



Dr Pepper And 7up Inc
Joined: Dec 23, 2008

deactivated


Posted: Jan 24, 2009 09:43 PM    Msg. 4 of 4       
thanks a lot
/thread
/lock
/bye

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 9:15 PM 141 ms.
A Halo Maps Website