Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*-------------------------------------*/
- /*---------initPlayerLocal.sqf---------*/
- /*-------------------------------------*/
- /*--------- Teleport - Pflicht ---------*/
- kiste01 addAction ["<t color='#3399ff'>Teleport zu Lead (#01)</t>", "(_this select 1) setPos position s01", nil, 100, false, true, "", ""];
- kiste01 addAction ["<t color='#3399ff'>Teleport zu Lead (#01)</t>", "(_this select 1) setPos position s01", nil, 100, false, true, "", ""];
- kiste01 addAction ["<t color='#3399ff'>Teleport zu Lead (#01)</t>", "(_this select 1) setPos position s01", nil, 100, false, true, "", ""];
- /*--------- Ausrüster - Pflicht ---------*/
- kiste01 addAction [("<t color=""#00FF1E"">" + ("Platoon Lead") + "</t>"),"scripts\plead.sqf",[],98,false,true,"",""];
- kiste01 addAction [("<t color=""#00FF1E"">" + ("Section Lead") + "</t>"),"scripts\slead.sqf",[],98,false,true,"",""];
- kiste01 addAction [("<t color=""#00FF1E"">" + ("Maschingunner") + "</t>"),"scripts\mg.sqf",[],98,false,true,"",""];
- kiste01 addAction [("<t color=""#00FF1E"">" + ("Explosivspecialist") + "</t>"),"scripts\explo.sqf",[],98,false,true,"",""];
- kiste01 addAction [("<t color=""#00FF1E"">" + ("Marksman") + "</t>"),"scripts\dmr.sqf",[],98,false,true,"",""];
- kiste01 addAction [("<t color=""#00FF1E"">" + ("Rifleman") + "</t>"),"scripts\rifl.sqf",[],98,false,true,"",""];
- kiste01 addAction [("<t color=""#00FF1E"">" + ("Medic") + "</t>"),"scripts\medic1.sqf",[],98,false,true,"",""];
- kiste01 addAction [("<t color=""#00FF1E"">" + ("Medic") + "</t>"),"scripts\medic2.sqf",[],98,false,true,"",""];
- /*--------- Functions - Pflicht ---------*/
- TA_fnc_loadoutUnit = {
- _loadoutUnits = _this select 0;
- {
- _unit = _x select 0;
- _loadout = _x select 1;
- if (!isNil "_unit") then {
- if(vehicle player == _unit) then {
- _s = execVM _loadout;
- waitUntil {scriptDone _s};
- };
- };
- } forEach _loadoutUnits;
- _return = true;
- _return;
- };
- /*--------- Loadouts - Pflicht ---------*/
- [
- [
- [s01, "scripts\plead.sqf"],
- [s02, "scripts\slead.sqf"],
- [s03, "scripts\mg.sqf"],
- [s04, "scripts\explo.sqf"],
- [s05, "scripts\dmr.sqf"],
- [s06, "scripts\rifl.sqf"],
- [s07, "scripts\medic1.sqf"],
- [s08, "scripts\slead.sqf"],
- [s09, "scripts\mg.sqf"],
- [s10, "scripts\explo.sqf"],
- [s11, "scripts\dmr.sqf"],
- [s12, "scripts\rifl.sqf"],
- [s13, "scripts\medic2.sqf"] //Wichtig: Bei dem letzen Array darf kein Komma stehen!
- ]
- ] call TA_fnc_loadoutUnit;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement