
pakar45
Joined: Sep 21, 2008
Hi
|
Posted: Feb 1, 2009 11:43 PM
Msg. 1 of 5
What is the script for AI entering and exiting a pelican?
So i need the script but how do they know when to enter and exit is it when you hit a trigger volume or what? can someone please make a mini-tut on how to use the script please? I do need the script if it is possible and can the script be easily edited to make it work with another vehicle?
|

Polamee
Joined: Feb 25, 2008
MP2SPMT's founder
|
Posted: Feb 2, 2009 06:55 AM
Msg. 2 of 5
There is no script. Use the classic command list :)
However, if you still experience difficulties, use this handy command called vehicle_load_magic. What it does is basically, well, magic. It will load the specified AI into the seat of the vehicle NO MATTER WHAT.
No trigger/flags etc needed.
However, you do need to find out the seat label for whatever vehicle you are using. If you're using the epelican from Extinction, the seat label is W-driver. Name your pelican
Your full scripting synthax should be:
(vehicle_load_magic <vehicle name> <seat label> (ai_actors <encounter> /<squad>))
(vehicle_load_magic peli W-driver (ai_actors peli/driver))
That is, if you named your epelican 'peli', your AI encounter name was peli and AI squadname was 'driver'. Edited by Polamee on Feb 2, 2009 at 06:56 AM
|

pakar45
Joined: Sep 21, 2008
Hi
|
Posted: Feb 2, 2009 07:43 AM
Msg. 3 of 5
So do i need to put in both the encounter and squad name in the dev mode command after i add the vehicle and the encounter squad ect to the scenario in sapien?
|

Polamee
Joined: Feb 25, 2008
MP2SPMT's founder
|
Posted: Feb 2, 2009 08:28 AM
Msg. 4 of 5
No. Place this in a script. Devmode work too, though sometimes not as good.
|