jimgun 3 Posted August 9, 2007 Would it be possible on a sector control map, rather than scoring points for a flag, I want to make it so if you control all flags for a certain period of time it would unlock a vehicle thats sat in your base locked - therefore enabling your side to use it? Is it possible to tie the capturing of a set number of flags over a certain amount of time to the unlocking of a vehicle? Share this post Link to post Share on other sites
b1sh0p 0 Posted August 10, 2007 I don't know the syntax of how it would be written, whenever I need to write a script I always have to heavily browse the com ref at the biki, but I'd do it like this... Have a trigger with the condition of checking if all of your sector control triggers are true. In the on act, execute vehicleunlock.sqf. In vehicleunlock.sqf, have a sleep command of however long you want them to need to have all the zones before the vehicle is unlocked, then have it check the status of your zones one last time. If all the triggers are still true, unlock the vehicle. If not, exit. That's how I'd do it. Like I said, I can't help you on the syntax. I'd have to browse the biki. But I'm fairly sure that method would work. Share this post Link to post Share on other sites