Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enableSaving[false,false];
- enableEnvironment false;
- [] execVM 'unit_markers_for_zeus.sqf';
- // prevent automatic LR backpack on squad leaders
- tf_no_auto_long_range_radio = true;
- // put this at the bottom of init.sqf to remove player's silencers on primary weapon and handgun
- [] spawn {
- while{hasInterface} do {
- _silencer = (primaryWeaponItems player) select 0;
- if(_silencer != "") then { player removePrimaryWeaponItem _silencer; };
- _silencer = (handgunItems player) select 0;
- if(_silencer != "") then { player removeHandgunItem _silencer; };
- sleep 1;
- };
- };
- // this is the script that makes it work
- // you need to specify and name squad leader in here and in editor
- // then you need to list names of all markers where the box for that squad leader should spawn
- [
- // [ squad leader unit name, [marker name where to place first box, marker name where to place second box, etc..] ],
- ["alphaSL", ["alpha1","alpha2"] ],
- ["bravoSL", ["bravo1"] ],
- ["charlieSL", ["charlie1"] ],
- ["deltaSL", ["delta1"] ] // last line must not end with ,
- ] execVM "init_squad_resupply_box.sqf";
Advertisement
Add Comment
Please, Sign In to add comment