Hey all,
I read the topic on forcing ai into a vehicle, but I became curious as to whether I could reverse the script to force ai out of a vehicle. (Sorry if I missed anything in the scripting guide, because I only really skimmed it.) Any ideas at all would be appreciated, because this is one aspect I can't seem to get the AI to do. They follow the paths and barriers fine, but once the planning path ends they just sit in the vehicle and never really exit it. Thanks in advance!
Force AI out of vehicle region?
Moderator: Moderators
- elfie
- Field Commander

- Posts: 931
- Joined: Fri Jan 25, 2008 8:26 pm
- xbox live or psn: no live
- Location: Coruscant, Jedi Temple
- Contact:
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Force AI out of vehicle region?
Instead of the EnterVehicle LUA code, have you tried the logical first step: ExitVehicle? I'm not sure if it works, myself, but it's an idea.
EDIT - Yeah, a search of all known LUA functions does turn up ExitVehicle, so that should work.
EDIT - Yeah, a search of all known LUA functions does turn up ExitVehicle, so that should work.
