Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ if (isNil "HC_Slot") then {
if(hasInterface) then {
_inventory = getMissionConfigValue ["GDC_Inventory",false];
_roster = getMissionConfigValue ["GDC_Roster",false];
[] call GDC_fnc_markerToDAGR;

// remplacer la trousse de soin par 12 attelles.
if (isNil "GDC_allowPAK") then {
Expand Down
6 changes: 4 additions & 2 deletions gdc_lib_main/functions/util/fn_markerToDAGR.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@
*/

// Onglet briefing
player createDiarySubject ["markerToDAGR","Marqueurs DAGR"];
player createDiaryRecord ["markerToDAGR", ["Instructions","<font size='20'><font color='#FF0000'>Marqueurs pour le DAGR</font></font>
if([player, "ACE_DAGR"] call ace_common_fnc_hasItem) then {
player createDiarySubject ["markerToDAGR","Marqueurs DAGR"];
player createDiaryRecord ["markerToDAGR", ["Instructions","<font size='20'><font color='#FF0000'>Marqueurs pour le DAGR</font></font>
<br/><br/>Pendant le briefing, les joueurs peuvent placer des marqueurs sur la carte afin que les positions ainsi marquées soient automatiquement ajoutés à la liste des waypoints enregistrés dans le DAGR.
<br/>Pour cela, les marqueurs doivent être nommés avec le préfix <font color='#EF7619'>DAGR_</font>."]];
};

[] spawn {
private ["_mks","_pos","_count"];
Expand Down