templates/contract/briefing.sqf
2025-01-04 19:45:49 -06:00

71 lines
1.8 KiB
Plaintext

#include "..\do_not_edit\script_component.hpp"
/*
* Author: Kresky, Jonpas
* Adds briefing based on side.
* Call from initPlayerLocal.sqf.
* Copy to other side briefings if you want to add briefings to those sides.
*
* Arguments:
* 0: Player <OBJECT>
*
* Return Value:
* None
*
* Example:
* [player] call FUNC(briefing);
*
* New Line:
* <br/>
*
* Text Colour (Hex colour Code)
* <font color='#FF0000'>TEXT HERE</font color>
*
* Clickable Marker Link:
* <marker name = 'MARKER_NAME'>MARKER_TEXT</marker>
*
* Image:
* <img image='FOLDER\IMAGE.jpg' width='200' height='100'/>
*/
params ["_player"];
switch (side _player) do {
// BLUFOR briefing
case west: {
};
// OPFOR briefing
case east: {
};
// RESISTANCE/INDEPENDENT briefing -- THIS IS THE BRIEFING YOU WANT TO EDIT FOR YOUR MISSION!
case resistance: {
_player createDiaryRecord ["Diary", ["Employer", "
<br/>Republic of Karellia
"]];
_player createDiaryRecord ["Diary", ["Situation", "
<br/><font color='#D81717'>ENEMY FORCES:</font color>
<br/>PMC Wagner
<br/>
<br/><font color='#1D69F6'>FRIENDLY FORCES:</font color>
<br/>Synixe Contractors
<br/>
<br/><font color='#993399'>CIVILIAN CONSIDERATIONS:</font color>
<br/>Mostly evacuated, very few civilians remain.
"]];
_player createDiaryRecord ["Diary", ["Mission", "
<br/>We have been hired to destroy communications towers in a region that has fallen to PMC Wagner.
<br/>
<br/>We will have access to frequency detection equipment in order to locate the towers.
"]];
};
// CIVILIAN briefing
case civilian: {
};
};