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 »wierd script thing

Author Topic: wierd script thing (2 messages, Page 1 of 1)
Moderators: Dennis

kirby_422
Joined: Jan 22, 2006

Apparently public enemy number 1?


Posted: May 3, 2013 08:31 PM    Msg. 1 of 2       
Quote: --- Original message by: thehonorguard
so i use this script to spawn an ai:

(script startup gan
(sleep_until (volume_test_objects aispawn3 (players))15)
(ai_place gunner_1)
)

"aispawn3" is the trigger volume... gunner_1 is the encounter

And i use this script to make him get in a turret once he is spawned:

(script startup ellot
(vehicle_load_magic gun "" (ai_actors gunner_1/minor))
)

"gun" is the turret name and "gunner_1" is encounter and "minor" is squad.

he spawns just fine... but he wont get in that darned thing.

PLEASE HELP!

You try to load them into the vehicle at the start of the map. They aren't spawned until the player enters the trigger volume. Anyways, since you claim to want them to enter as soon as they're spawned, what you want is
(script startup gan
(sleep_until (volume_test_objects aispawn3 (players))15)
(ai_place gunner_1)
(vehicle_load_magic gun "" (ai_actors gunner_1/minor))
)


kirby_422
Joined: Jan 22, 2006

Apparently public enemy number 1?


Posted: May 4, 2013 03:28 PM    Msg. 2 of 2       
Quote: --- Original message by: thehonorguard
Can you spawn more than one ai encounter using a trigger volume.. preferably incorporating some elements of this script

(script startup gan
(sleep_until (volume_test_objects aispawn3 (players))15)
(ai_place gunner_1)
(ai_place gunner_2)
(ai_place gunner_3)
(ai_place gunner_4)
)

Just toss all the ai_place you want after the volume test.

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 10:48 PM 141 ms.
A Halo Maps Website