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

Lock driver position only

Recommended Posts

Hi!

I'm making a coop mission for four human/AI players.

And I need to make sure that the players or the AI squadmates only can use the cargo positions in some vehicles.

That meens that even if the driver gets out or get killed, the squad members should only be able to enter the passenger seats.

I guess one solution is to use a "waitUntil" script to see if the player enters the driver position and then kick him out.

But I wonder if there's a better solution?

If not, how would the "waitUntil" script look, how can I check if any of the four units in my group enters the driver position and then kick him out?

Cheers

edit: Sorry, I found this handy script: lockDriver :o

edit2: Well, it seems you can still get into the vehicle through the passenger seat,

and then switch to driver, so lockDriver doesn't really solve my problem.

Edited by bracer

Share this post


Link to post
Share on other sites

Yeah, once upon a time i used game logic to fill some vehicle places. Try to put a game logic on the map and to move in in the driver seat, such as :

logic = "logic" createvehicle getpos player;logic moveindriver name_of_your_vehicle;

Share this post


Link to post
Share on other sites
Sign in to follow this  

×