Quote: --- Original message by: The Cereal Killer
You have the names set correctly in the scenario as well as the script?
I believe so, but where you fill things in on the script is confusing. You said to name both the encounter and squad "pilot." So the script would look like this:
(script dormant dropoff
(object_create_anew dropship)
(object_create_anew ship_pilot)
(object_teleport dropship start_point)
(unit_enter_vehicle ship_pilot dropship "")
(ai_attach ship_pilot pilot)
(ai_command_list_by_unit ship_pilot ship_dropoff)
(ai_place pilot)
(vehicle_load_magic dropship ""
(ai_actors pilot())) (sleep_until (= (ai_command_list_status ship_pilot) 1))
(vehicle_hover dropship true)
(vehicle_unload dropship "")
(unit_enter_vehicle ship_pilot dropship "")
(ai_command_list_by_unit ship_pilot ship_leave)
(vehicle_hover dropship false)
(sleep_until (= (ai_command_list_status ship_pilot) 1))
(unit_kill_silent ship_pilot)
(object_destroy dropship)
)
The part in the bold is what I'm not sure of. There seems to be an extra set of parenthesis, I tried deleting them but it didn't work. Is there supposed to be an extra command in those parenthesis? I tried just putting the encounter name but that didn't seem to work.
Thanks.
Edited by pepzee on May 28, 2011 at 07:03 PM