lonesoldier 0 Posted August 22, 2002 ok. Im wondering how i unlock and lock a vehicle via a trigger. Heres why: You were being inserted via chopper, it got shot down, you escaped but your team, and the pilots got captured. Now i want it so that if you can save the pilots and keep them alive then you can escape the area in a plane. But if they die then the plane will be locked so you cant fly it. Then for your other team mates, they know how to drive armoured vehicles but if they get killed then the tanks and shit will be locked. So when they die how would i lock vehicles. Condition: (not (alive pilot1)) Activation: what would i put here? Share this post Link to post Share on other sites
Bosun 0 Posted August 22, 2002 Well one cheap and easy way would be; vehiclename setFuel 0 I'm not sure of any other commands for this [unitname] AllowGetIn FALSE doesn't work as you can still get in and drive. Share this post Link to post Share on other sites
bn880 5 Posted August 22, 2002 This should do vehicle lock lock Operand types: vehicle: Object lock: Boolean Type of returned value: None Description: Lock vehicle (disable mounting / dismounting) for player. Example: jeepOne lock true Or maybe not, since it says Player. I think it will. Share this post Link to post Share on other sites
Bosun 0 Posted August 22, 2002 [cheap and easy] FALSE Share this post Link to post Share on other sites
bn880 5 Posted August 22, 2002 It's cheap, $45 for OFP and $45 for Resistance Easy because 1 line: vehicle lock true; Share this post Link to post Share on other sites
Bosun 0 Posted August 22, 2002 No, thats a fine line....and player can't even get in vehicle. I was just poking fun at my kindergrade answer.... Share this post Link to post Share on other sites