Jump to content
Sign in to follow this  
quincy

civilian stay in car

Recommended Posts

during the firefight i want a civilian to stay in its vehicle

Share this post


Link to post
Share on other sites

that seems to be a fairly impossible task... not sure if anyone has come up with a way to do that without totally disabling the character with enableSimulation

Share this post


Link to post
Share on other sites

IMO requires modifying the unit's FSM inside the pbo. Not tested

Share this post


Link to post
Share on other sites

The best you can do without editing the units pbo is to just put them back in as soon as they try to get out.

place this in the cars init and name the car CAR

this addEventHandler ["GETOUT",{card moveindriver car} ]

Copy it exactly is it is card is correct sand not an error.

There is no easy fix to keep the car driving though and passengers/cargo will also need to be added to the eventhandler to keep those inside.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×