Intel erstellen
Intel kann grundsätzlich jedes Objekt sein. Getestet habe ich bisher folgende Classnames:
Intel_File2_F (Secret Documents)
Intel_File1_F (Documents).
Man muss unbedingt die Fraktion(en) benennen, für die das Intel verfügbar ist: WEST, EAST,...!
1. In die Init des Objekts folgendes einfügen (mit Bildern):
if (isServer) then {
// 3 verschiedene Beispiele für ein (mögliches) Bild (ich empfehle die untere)
this setVariable ['RscAttributeDiaryRecord_texture','a3\structures_f_epc\Items\Documents\Data\document_secret_01_co.paa', true];
this setVariable ['RscAttributeDiaryRecord_texture','a3\structures_f_epc\Items\Documents\Data\files_secret_ca.paa', true];
this setVariable ['RscAttributeDiaryRecord_texture','bild.jpg', true];
// Es folgen die Information der Dokumente
[this,'RscAttributeDiaryRecord',['Ueberschrift der Dokumente','Genaue Information<\br>Mit HTML-Tags zur Formatierung','']] call bis_fnc_setServerVariable;
// Für welche Seite sind diese Dokumente
this setVariable ['recipients', WEST, true];
};
2. Wenn man kein Bild braucht, nimmt man die Zeile raus. In die Init des Objekts folgendes einfügen (ohne Bilder):
if (isServer) then {
[this,'RscAttributeDiaryRecord',['Dokument eins','blablablablablablablabla','']] call bis_fnc_setServerVariable;
this setVariable ['recipients', WEST, true];
};
Link:
https://www.youtube.com/watch?v=A1QsFSedMWY
No Comments