Jump to content
  • 0

Add server rules to A3 map page.


Bushwick

Question

17 answers to this question

Recommended Posts

  • 0

hey,

 

you mean a briefing ?

 

here:

  Reveal hidden contents

diag_log format['**Starting Briefing.sqf**'];

if (!hasInterface) exitWith {};

waitUntil {!isNuLL(uiNameSpace getVariable ["EPOCH_loadingScreen",displayNull])};
waitUntil {isNuLL(uiNameSpace getVariable ["EPOCH_loadingScreen",displayNull])};

player createDiarySubject ["menu1","Server Rules"];
player createDiarySubject ["menu2","Server Features"];
player createDiarySubject ["menu3","Tips"];
player createDiarySubject ["menu4","Sector C"];
player createDiarySubject ["menu5","Epoch Controls"];

player createDiaryRecord ["menu1",
["Server Rules","<br/>
<br/>
<br/>
"]];


player createDiaryRecord ["menu2",
["Server Features","<br/>

Important: Cinder is not more indestructible<br/><br/>
"]];


player createDiaryRecord ["menu3",
["Tips","<br/>

Use CTRL + ß and CTRL + ` to regulate volume level down and up<br/><br/>

"]];


player createDiaryRecord ["menu4",
["Sector C","<br/>

comming  soon<br/>
"]];


player createDiaryRecord ["menu5",
["Epoch Controls","<br/>

CTRL + ß regulate volume level down<br/>
CTRL + ` regulate volume level up<br/><br/>
"]];

call this in your init

example:

[] execVM "FOLDER\Briefing.sqf";

Link to comment
Share on other sites

  • 0
  On 3/12/2015 at 1:45 AM, DirtySanchez said:

How dare you come into my office and even consider asking for a raise. Get your ass to work!

Most likely what one might hear in this day and age.....being an ASST GM myself.

Haha! That's neither the first time I've heard those words, nor will it be the last. :P

Link to comment
Share on other sites

  • 0

I added

// Briefing

[] execVM "scripts\briefing.sqf"; to my init

  Reveal hidden contents

// Status Bar

[] execVM "scripts\fn_statusBar.sqf";

// a3_Sdrop

if (isDedicated) exitWith {};

sdropClient=compileFinal preprocessFileLineNumbers "sdropClient.sqf";

waitUntil{(isPlayer player) && (alive player) && !isNil "EPOCH_loadingScreenDone"};

[] spawn sdropClient;

// Briefing

[] execVM "scripts\briefing.sqf";

In my scripts folder I have a briefing.sqf which looks like this:

  Reveal hidden contents

diag_log format['**Starting Briefing.sqf**'];

if (!hasInterface) exitWith {};

waitUntil {!isNuLL(uiNameSpace getVariable ["EPOCH_loadingScreen",displayNull])};

waitUntil {isNuLL(uiNameSpace getVariable ["EPOCH_loadingScreen",displayNull])};

player createDiarySubject ["menu1","Server Rules"];

player createDiarySubject ["menu2","Server Features"];

player createDiarySubject ["menu3","Tips"];

player createDiarySubject ["menu4","Sector C"];

player createDiarySubject ["menu5","Epoch Controls"];

player createDiaryRecord ["menu1",

["Server Rules","<br/>

<br/>

<br/>

"]];

player createDiaryRecord ["menu2",

["Server Features","<br/>

Important: Cinder is not more indestructible<br/><br/>

"]];

player createDiaryRecord ["menu3",

["Tips","<br/>

Use CTRL + ß and CTRL + ` to regulate volume level down and up<br/><br/>

"]];

player createDiaryRecord ["menu4",

["Sector C","<br/>

comming soon<br/>

"]];

player createDiaryRecord ["menu5",

["Epoch Controls","<br/>

CTRL + ß regulate volume level down<br/>

CTRL + ` regulate volume level up<br/><br/>

"]];

But it does not work. Anyone see a glaring error?

Link to comment
Share on other sites

  • 0

Just a shot in the dark while waiting on a scripting pro.....

Have you tried moving:

// Briefing

[] execVM "scripts\briefing.sqf";

To above or just below:

// Status Bar

[] execVM "scripts\fn_statusBar.sqf";

Or reducing the number of menu items?

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
  • Discord

×
×
  • Create New...