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:

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

I added

// Briefing

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

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Discord

×
×
  • Create New...