addicted 1 Posted November 11, 2013 Hello I'm beginner at scripting and I'm trying to make multiplayer mission. I'm using script to let only selected slots for driving armoured vehicles. I have trigger on act. I wrote this drivr = driver ebv1;if !((driver ebv1) in h1pilots) then {drivr action ["eject", ebv1]; call RE;}; in init I wrote h1pilots = [ec1,ec2,ec3]; where ec1 or ec2 or ec3 are names for soldiers slots. Script works till first death. After it even this slots can't drive armoured vehicles. I decided to add code from init to to script which will add all items to soldiers after their death and now it works perfect. My question is - Is it possible to write it in better way in init.sqf to make it works without adding it in soldiers equip script? Share this post Link to post Share on other sites
Kunsa 10 Posted November 12, 2013 I think you are looking for setVehicleVarName Share this post Link to post Share on other sites
addicted 1 Posted November 12, 2013 Thanks for try , sadly no. Like i wrote if I put this to every soldier gear script all works fine. I supose that there is a method to write it i init.sqf properly to make it work without writing it in other place. Share this post Link to post Share on other sites