Spud Posted December 8, 2013 Share Posted December 8, 2013 Hi guys, first I'd like to congratulate you on this game mode - it's hugely entertaining and something which the guys in my community really enjoy. I'm making a few changes to the mission though, to reflect the ideas and wants of our members (all the while making sure Ahoy World and Rarek are credited as they should be) and I'm striking some strange issues. Essentially, I'm trying to create a couple of vehicles which can act as mobile HQs, complete with VAS, but the problem I'm striking is just getting VAS to appear at all, to be honest. Looking at the scripts you guys are using, when a vehicle is respawned, it executes vehicle.sqf, with a couple of parameters for respawn delay and so on. Looking at vehicle.sqf, it gives a couple more parameters, then says the init field of the vehicle can be set after those parameters, by putting the code into double quotes. This is the code I've put into the init field of the vehicle in the editor: _m = [this,300,1800,0,false,false, "this addAction['Virtual Ammobox', 'VAS\open.sqf'];"] execVM "vehicle.sqf"; _m = [this] execVM "scripts\aw_unitSetup.sqf"; It doesn't work at all. I've tried escaping the apostrophes, I've tried doubling them up, I've tried enclosing them in double quotes - I didn't think that would work but had to try - and I'm now running out of ideas. Would love to hear if you guys can suggest anything. Spud Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now