瀏覽代碼

function panel push

Namenai 7 年之前
父節點
當前提交
f1e233cf6e

+ 38 - 0
Scripts/scripts/zeus3denScripts/globalFncAndVarPanel/zeusVariableAndFunctionPanel.sqf

@@ -0,0 +1,38 @@
+
+namZeusPanelHermes={
+	params["_objToPlacePanelsOn"];
+	
+	 removeGoggles _objToPlacePanelsOn;
+	_objToPlacePanelsOn AddUniform "SWOP_CloneOf_red_F_CombatUniform";
+	_objToPlacePanelsOn Addheadgear "SWOP_Cloneofficer_capR";
+	
+	_toggleColor="<t color='#0000FF'>";
+	_colorEnd="</t>";
+
+	
+	//Hermes Control Panel
+	_objToPlacePanelsOn addAction ["<t color='#A020F0'> Hermes Control Panel</t>", 
+	{
+		hint "REeeE-CC Euler    Euler stop ReeEeEing--CC Angel Angle 2k18"
+	}];
+	
+	
+
+	//toggle if the aat should be configed or not
+	_title=format["%1%2%3",_toggleColor,"Toggle AAT Changes",_colorEnd];
+	_objToPlacePanelsOn addAction [_title, 
+	{
+	namEnableConfigAAT=!namEnableConfigAAT;
+
+	hintSilent format["AAT changes are now %1",namEnableConfigAAT];
+	}];
+
+};
+
+
+
+["B_Protagonist_VR_F", "init",namZeusPanelHermes, true, [], true] call CBA_fnc_addClassEventHandler; 
+
+
+
+

+ 3 - 2
Scripts/scripts/zeus3denScripts/namenaisInit.sqf

@@ -1,8 +1,9 @@
-//last update 3/25/2018 11:50 pm est by namenai
+//last update 3/25/2018 1:19 pm est by namenai
 
 //global variables that are used
 	[] execVM "scripts\zeus3denScripts\globalVars\globalVar.sqf";
-
+//Allow zeus to change global variables
+	[] execVM "scripts\zeus3denScripts\globalFncAndVarPanel\zeusVariableAndFunctionPanel.sqf";
 
 //laat weapons,adds weapons and wingtip smoke
 	[] execVM "scripts\zeus3denScripts\vehicleBased\vehicleVariants\airBased\LAAT\laatClaymore.sqf";

+ 4 - 1
Scripts/scripts/zeus3denScripts/readme.txt

@@ -1,4 +1,4 @@
-last update 3/25/2018 11:50 AM  est by namenai
+last update 3/25/2018 1:19 PM  est by namenai
 
 Here is the file path of various scripts,if its not listed here then its probably 1)scripts being prepped or 2) we forgot :P
 
@@ -37,6 +37,9 @@ Here is the file path of various scripts,if its not listed here then its probabl
 		//setter ---P ---EXP
 			[] execVM "scripts\zeus3denScripts\globalFnc\namEnableConfigAAT\setnamEnableConfigAAT.sqf";
 
+//globalFncAndVarPanel 	
+			//To allow zeus ease of changing variables for a mission as getters and setters are too hard for them ,sad bois
+			[] execVM "scripts\zeus3denScripts\globalFncAndVarPanel\zeusVariableAndFunctionPanel.sqf";
 //Vehicle Based
 	//vehicleVariants
 		//airBased