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))
)