Humpabry Posted February 3, 2015 Report Share Posted February 3, 2015 Okay here is my briefing menu: init.sqf null =[] execVM "scripts\briefing.sqf"; scripts\briefing.sqf if (!hasInterface) exitWith {}; waitUntil {!isNuLL(uiNameSpace getVariable ["EPOCH_loadingScreen",displayNull])}; waitUntil {isNuLL(uiNameSpace getVariable ["EPOCH_loadingScreen",displayNull])}; player createDiarySubject ["menu1","Name on Map"]; player createDiarySubject ["menu2","Name on Map2"]; player createDiaryRecord ["menu1", ["Name on Map"," <br/> Put your text here <br/> "]]; player createDiaryRecord ["menu2", ["Name on Map2"," <br/> Put your text here <br/> "]]; Not on scroll menu but it works :) have fun ;) could u possible give us a couple screenies of this? ty for the code also :) itsatrap 1 Link to comment Share on other sites More sharing options...
Humpabry Posted February 3, 2015 Report Share Posted February 3, 2015 i do have a action menu that works from arma 2 changed few little things..on it also has view distance + flip vehicle that also work..just cant get it to stay after player dies. if anyone with better modding skills them me can fix this i can happily send the files to you. also this aint my work like i said took it from arma 2 dayz epoch and deleted few things kept the rest but they work! Link to comment Share on other sites More sharing options...
cheech420now Posted February 3, 2015 Report Share Posted February 3, 2015 Thank you Sporny!! Link to comment Share on other sites More sharing options...
Humpabry Posted February 3, 2015 Report Share Posted February 3, 2015 if someone who knows wat they are doing can have a look at this file and get it to work after deaths it would be very nice! http://www.filedropper.com/actionmenu Link to comment Share on other sites More sharing options...
Tricks Posted February 4, 2015 Author Report Share Posted February 4, 2015 Okay here is my briefing menu: init.sqf null =[] execVM "scripts\briefing.sqf"; scripts\briefing.sqf if (!hasInterface) exitWith {}; waitUntil {!isNuLL(uiNameSpace getVariable ["EPOCH_loadingScreen",displayNull])}; waitUntil {isNuLL(uiNameSpace getVariable ["EPOCH_loadingScreen",displayNull])}; player createDiarySubject ["menu1","Name on Map"]; player createDiarySubject ["menu2","Name on Map2"]; player createDiaryRecord ["menu1", ["Name on Map"," <br/> Put your text here <br/> "]]; player createDiaryRecord ["menu2", ["Name on Map2"," <br/> Put your text here <br/> "]]; Not on scroll menu but it works :) have fun ;) I put this in and don't see this briefing anywhere. Did I do something wrong? if (!hasInterface) exitWith {}; waitUntil {!isNuLL(uiNameSpace getVariable ["EPOCH_loadingScreen",displayNull])}; waitUntil {isNuLL(uiNameSpace getVariable ["EPOCH_loadingScreen",displayNull])}; player createDiarySubject ["menu1","Server Info"]; player createDiarySubject ["menu2","Server Features"]; player createDiaryRecord ["menu1", ["Server Info"," <br/> Website: www.xxxxxxxxx.com Teamspeak: xxxxxxxxxx Email: [email protected] Admins: xxxxxx, xxxxx, and xxxxx <br/> "]]; player createDiaryRecord ["menu2", ["Server Features"," <br/> xxxxxxxxxxxxxx xxxxxxxxxxxxxx xxxxxxxxxxxxxx xxxxxxxxxxxxxx xxxxxxxxxxxxxx xxxxxxxxxxxxxx xxxxxxxxxxxxxx <br/> "]]; Link to comment Share on other sites More sharing options...
Sporny Posted February 4, 2015 Report Share Posted February 4, 2015 You have null =[] execVM "scripts\briefing.sqf"; in your init.sqf with the right path of your briefing.sqf ? Open your map and you have 2 new menus on the left side. Link to comment Share on other sites More sharing options...
Tricks Posted February 4, 2015 Author Report Share Posted February 4, 2015 All working, I didn't realize the briefing was from the map screen. thought it was during load in. I added this and indestructible base parts. Players started getting Autoban #2. So I removed the indestructible items and left this in. Testing now. Link to comment Share on other sites More sharing options...
MillerTime Posted February 5, 2015 Report Share Posted February 5, 2015 if (!hasInterface) exitWith {}; waitUntil {!isNuLL(uiNameSpace getVariable ["EPOCH_loadingScreen",displayNull])}; waitUntil {isNuLL(uiNameSpace getVariable ["EPOCH_loadingScreen",displayNull])}; player createDiarySubject ["menu1","Server Info"]; player createDiarySubject ["menu2","Server Features"]; player createDiaryRecord ["menu1", ["Server Info"," <br/> Website: www.xxxxxxxxx.com Teamspeak: xxxxxxxxxx Email: [email protected] Admins: xxxxxx, xxxxx, and xxxxx <br/> "]]; player createDiaryRecord ["menu2", ["Server Features"," <br/> xxxxxxxxxxxxxx xxxxxxxxxxxxxx xxxxxxxxxxxxxx xxxxxxxxxxxxxx xxxxxxxxxxxxxx xxxxxxxxxxxxxx xxxxxxxxxxxxxx <br/> "]]; only works for admins . any ideas Link to comment Share on other sites More sharing options...
Tricks Posted February 12, 2015 Author Report Share Posted February 12, 2015 Ok I finnaly have had some time to try this script. I too am can't get the second menu up. I have "Server Info" appearing, but when you click on it you don't get a second menu. I don't see any errors popping up either. Here are my files; Menu.sqf private["_veh", "_idx]; Sleep 10; _idx = -1; while {alive player} do { if(_idx == -1) then { _idx = (vehicle player) addaction [("" + ("Server Info") +""),"Scripts\Menu\InfoMenu\ActionMenu.sqf","",5,false,true,"",""]; _veh = vehicle player; }; if (_veh != vehicle player) then { _veh removeAction _idx; _idx = -1; }; Sleep 2; }; ActionMenu.sqf _pathtotools = "Scripts\Menu\InfoMenu\"; _EXECscript1 = 'player execVM "'+_pathtotools+'%1"'; //customise these menus to fit your server //menu menu = [ ["",true], ["Server Info", [2], "", -5, [["expression", format[_EXECscript1,"text1.sqf"]]], "1", "1"], ["Server Rules", [4], "", -5, [["expression", format[_EXECscript1,"text2.sqf"]]], "1", "1"], ["Tips", [6], "", -5, [["expression", format[_EXECscript1,"text3.sqf"]]], "1", "1"], ["", [-1], "", -5, [["expression", ""]], "1", "0"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ]; I had an error here and had to remove the last ]; from the original post. Text1.sqf "Text1" hintC parseText format [" <t size='1.1' shadow='1'align='left' color='#FFFFFF'>Text</t><br/> <t size='.7' shadow='1'align='left' color='#FFFFFF'></t><br/> <t size='1.1' shadow='1'align='left' color='#FFFFFF'>Text</t><br/> <t size='.7' shadow='1'align='left' color='#FFFFFF'></t><br/> <t size='1.1' shadow='1'align='left' color='#FFFFFF'>Text</t><br/> <t size='.7' shadow='1'align='left' color='#FFFFFF'></t><br/> <t size='1.1' shadow='1'align='left' color='#FFFFFF'>Text</t><br/> <t size='.7' shadow='1'align='left' color='#FFFFFF'></t><br/> <t size='1.1' shadow='1'align='left' color='#FFFFFF'>Text</t><br/> <t size='.7' shadow='1'align='left' color='#FFFFFF'></t><br/> <t size='1.1' shadow='1'align='left' color='#FFFFFF'>Text</t><br/> <t size='.7' shadow='1'align='left' color='#FFFFFF'></t><br/> <t size='1.1' shadow='1'align='left' color='#FFFFFF'>Text</t><br/> "]; sleep 10; Would REALLY appreciate it, if someone could get this working! :rolleyes: Anyone had any luck with this? Would really love the scroll option. The briefing method caused my players to be auto banned. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now