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 »What type?

Author Topic: What type? (8 messages, Page 1 of 1)
Moderators: Dennis

donut7024
Joined: Sep 23, 2007

I thought you were a woman..............


Posted: Apr 5, 2009 10:08 PM    Msg. 1 of 8       
What type of script would I need t send an ai in a vehicle to a certain point in bloodgulch?


UnevenElefant5
Joined: May 3, 2008

its been fun yall, i'll never forget this site :')


Posted: Apr 5, 2009 10:15 PM    Msg. 2 of 8       
Continuous I think.


donut7024
Joined: Sep 23, 2007

I thought you were a woman..............


Posted: Apr 5, 2009 10:18 PM    Msg. 3 of 8       
Something to put down.....like give me something


UnevenElefant5
Joined: May 3, 2008

its been fun yall, i'll never forget this site :')


Posted: Apr 5, 2009 10:25 PM    Msg. 4 of 8       
Well it depends on what you want. For example, this:
(script continuous vehicles_load
(if (and (volume_test_object *trigger_volume* (players)) true)
(vehicle_load_magic [vehicle] [seat] (ai_actors [encounter] ))
)
would make the AI be loaded into a seat in a vehicle when a player entered a trigger volume.
EDIT:
I think. Still a little bit new to scripting.
Edited by UnevenElefant5 on Apr 5, 2009 at 10:26 PM


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Apr 5, 2009 10:39 PM    Msg. 5 of 8       
Alright. Fun time. Use vehicle load magic or a command list to get the AI into a vehicle. Use a command list for simplicity's sake. Then, create a new command list, called drive. Set the path that you want the Ai to follow. Name the Ai encounter drive, and the squad driver. The vehicle will be named ai_1. If you're making a script, use this script:

(script continuous drive
(if
(vehicle_test_seat ai_1 "W-driver" (ai_actors drive/driver))
)
(begin
(ai_command_list drive drive)
)
)


If you're going for a devmode command, wait until the AI is inside the warthog. Then, type into console:

ai_command_list drive drive

Edited by Gamma927 on Apr 5, 2009 at 10:41 PM


donut7024
Joined: Sep 23, 2007

I thought you were a woman..............


Posted: Apr 6, 2009 12:29 AM    Msg. 6 of 8       
No they need to do it on their own.


UnevenElefant5
Joined: May 3, 2008

its been fun yall, i'll never forget this site :')


Posted: Apr 6, 2009 12:30 AM    Msg. 7 of 8       
That would be a command list. There is a tutorial for that on this site. Search is your friend.


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Apr 6, 2009 12:33 AM    Msg. 8 of 8       
Then make a command list with a loop, so that they keep driving around in a loop. Then, use a script so that they initiate when the map is started.

 

 
Previous Older Thread    Next newer Thread







Time: Sat January 21, 2023 1:02 AM 187 ms.
A Halo Maps Website