Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
KaRRiLLioN

Can I lock certain positions on vehicles?

Recommended Posts

I've been searching this forum and I'm sure it's here somewhere but I haven't found the command yet. How does one lock ONLY the Driver and Gunner positions on vehicles, aircraft, etc. but keep the Cargo side open so that soldiers can get in the back only? Basically I'd like to lock specific positions so that players in multiplayer games cannot get into anything but their assigned position.

I have some missions where I make Chopper pilots AI get out and wait on groups to get into the chopper, but if a player beats them back to the Chopper, I don't want them to be able to get in the pilot or gunner seat cause then the waypoints would be messed up.

I have already tried using assignasdriver, assignasgunner, assignascargo commands, but once a player gets in, if the driver position isn't already taken then the "move to driver" option is available to them.

In the official single player missions, there are many instances where I can only get in as cargo. For example the mission where Armstrong goes with the commander in the jeep in one of the first missions, the driver position is not available even though no-one else is in the jeep.

I would really like to know how this is done.

Thanks!

Share this post


Link to post
Share on other sites

that's what i found in official comref:

unitArray allowGetIn allow

Description:

Allow getting in vehicles to all units in the list.

Example:

[unitOne, unitTwo] allowGetIn false

so maybe you can also you instead of "getin" "getindriver" or gunner - i'll try

it when i return home from work

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  

×