Jump to content

[REQUEST] "Server Info" Scroll Option


Tricks

Recommended Posts

  On 2/3/2015 at 4:48 PM, Sporny said:

Okay here is my briefing menu:

 

init.sqf

  Reveal hidden contents

null =[] execVM "scripts\briefing.sqf";

 

scripts\briefing.sqf

  Reveal hidden contents

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 :)

Link to comment
Share on other sites

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

  On 2/3/2015 at 4:48 PM, Sporny said:

Okay here is my briefing menu:

 

init.sqf

  Reveal hidden contents

null =[] execVM "scripts\briefing.sqf";

 

scripts\briefing.sqf

  Reveal hidden contents

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?

  Reveal hidden contents

Link to comment
Share on other sites

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

  On 2/4/2015 at 3:27 PM, Tricks said:

 

  Reveal hidden contents

only works for admins . any ideas

Link to comment
Share on other sites

  On 2/3/2015 at 3:50 PM, Tricks said:

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

 

  Reveal hidden contents

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

 

  Reveal hidden contents

I had an error here and had to remove the last ]; from the original post.

 

 

Text1.sqf

 

  Reveal hidden contents

 

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...