Jump to content
Sign in to follow this  
Khalashnikovf

Lock AI unit in vehicle

Recommended Posts

I need to force any AI unit to stay in any vehicle and even in event where is vehicle damaged to 0.99

I tried any lock, lockDriver, lockCargo, nothing is working ...

Share this post


Link to post
Share on other sites

Hi,

you can do that with a trigger for example.

Trigger setup:

- Size: 0,0

- Activation: None present

- Repeatedly

- Countdown

- Min/Mid/Max 0.1

Condition:

isServer && !(unitname in vehiclename)

On Activation:

unitname moveInDriver vehiclename

The assignAs function may also help:

assignAsDriver etc.

Edited by sxp2high

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  

×