-
Notifications
You must be signed in to change notification settings - Fork 9
SkripteSammlung
Weitere Skripte: https://github.com/TacticalBaconDevs/TBMod/blob/master/infos/debugCode.sqf
#safe
-> in den Chat on/off toggle oder #safe 1
für an #safe 0
für aus
Alter Code
-> Starten - GLOBAL ausführen: `[true] spawn TB_fnc_safe`-> Beenden - GLOBAL ausführen: `[false] spawn TB_fnc_safe`
-> Ausblenden - LOKAL ausführen: (group player) setVariable ["ace_map_hideBlueForceMarker", true, true]
-> (Wieder)Einblenden - LOKAL ausführen: (group player) setVariable ["ace_map_hideBlueForceMarker", false, true]
-> Person direkt anschauen und davorstehen - LOKAL ausführen: cursorObject setGroupIdGlobal ["Alpha"]
-> LOKAL ausführen - TIER außer Fische -> https://community.bistudio.com/wiki/Arma_3_CfgVehicles_Animals
_tier = createAgent ["Fin_random_F", getPos player, [], 5, "CAN_COLLIDE"]; _tier setVariable ["BIS_fnc_animalBehaviour_disable", true]; BACK = player; selectPlayer _tier;
-> wieder zurück LOKAL ausführen:
selectPlayer BACK
-> Starten - LOKAL ausführen:
[] spawn {TB_checkRadar = true; waitUntil { private _msg = "Aktiver Radar:"; { if (isVehicleRadarOn (vehicle player)) then { _msg = format ["%1\n%2 - %3", _msg, name _x, getText (configFile >> "CfgVehicles" >> typeOf (vehicle player) >> "displayName")]; }; } forEach allPlayers; if (_msg != "Aktiver Radar:") then {hintSilent _msg} else {hintSilent ""}; uiSleep 2; !TB_checkRadar }};
-> ENDE - LOKAL ausführen:
TB_checkRadar = false
{_x allowFleeing 0} forEach allGroups;
if(isServer) then { private _groups = [alpha,bravo,charlie,delta]; private _helis = [alphaheli,bravoheli,charlieheli,deltaheli]; if (count _groups != count _helis) then { (format ["[TBMod] Anzahl Groups/Heli unterschiedlich"]) remoteExecCall ["systemChat"]; }else{ for "_i" from 0 to (count _helis -1) do { {_x moveInCargo (_helis select _i)} forEach units (_groups select _i); }; }; };