sniposnipo 0 Posted May 26, 2007 In a small cinematic I want to make a soldier kill a passing car driver then mount it . Everything works until the soldier is supposed to go in the car ; instead of going straight for it he walks away for a bit, erratically proning and looking around then after a few seconds he finally decide to enter the car... Dunno what to do to fix this Share this post Link to post Share on other sites
karantan 0 Posted May 26, 2007 Hm, it's hard to offer apropriate help if the 'case' is not so well explained   I'm assuming the soldier is in aware or combat mode, so try to change his behaviour to careless after he kills the driver; make a trigger with  not alive driverName  Condition and in On Activation put  soldierName setBehaviour "careless", you can also add  soldierName setUnitPos "up"  if needed. Share this post Link to post Share on other sites
sniposnipo 0 Posted May 26, 2007 Yes you're right I'll try to explain my setup The soldier has two normal waypoints (not far apart) : On the first there's a dofire to make him kill the driver . On the second one there's his assignasdriver and ordergetin commands The driver is init with moveindriver, and has one normal waypoint . It doesn't start very far from the soldier, the truck is a empty unit, set as unlocked There's a trigger "not alive thedriver" synchro with the soldier's first waypoint, it also resets the truck damage just in case I tried what you said but even in careless mode he looks confused, saw him walking against the truck as he didn't see it. Other things I tried is some disableAI or a "dude reveal ural" but no success either  Share this post Link to post Share on other sites
Macser_old 0 Posted May 26, 2007 Looks like my previous post got lost in cyberspace.So I'm re-posting. Seeing as it's a cinematic. Why not set up another "scene",out of shot,with the hi-jacker entering the vehicle. When "scene1" ends with the driver being killed,switch the camera to "scene2". Can't think of another way to avoid the AI's odd looking behaviour.I've had similar problems before. The Ai ran past the vehicle by about 50 meters, stood there lookin at it,then eventually got in. Just didn't look right. Does that make any sense? Share this post Link to post Share on other sites
sniposnipo 0 Posted May 27, 2007 ah..Found out that with a "deleteVehicle thedriverguy" once the driver is dead they don't have problem entering anymore Share this post Link to post Share on other sites