# 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 (<span style="text-decoration: underline;">mit</span> 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&lt;\\br&gt;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 (<span style="text-decoration: underline;">ohne</span> 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](https://www.youtube.com/watch?v=A1QsFSedMWY)*