SirBa5terD 2 Posted April 18, 2020 Hello Ladies and gentelemen! As i experience this forum very friendly and humble, I would really like to ask you, if there is a way to create the following: 1. A unit needs to pick up intel ( made with the intel from the game ) = woking 2. When the map shows up, there shall be a picture of that intel, and a name = not working yet 3. There is a log, that is automatically created, where something can apparently be written = not working I got those step 2 and 3 not figured out now, can you help me with it? Thank you very much in advance! Share this post Link to post Share on other sites
Melody_Mike 130 Posted April 18, 2020 Hi @SirBa5terD, Welcome to the forums! You are biting off a LOT with this project. You can more or less make this. But you will become an absolute scripting wizard when(?!) you succeed. I will discuss each bullet point: 2. You can display a picture ( .paa format) 360 pixels wide with the <img... > syntax in the regular briefing. See: https://community.bistudio.com/wiki/Arma_3_Briefing If you want a larger picture, then the engine will not always fit it within the briefing screen. Then you will have to use <execute expression ...> to open your picture up with a custom dialogue box. See: 3. You normally can't really type during missions. To enable this, you would have to program a custom GUI, and have it create (and format) diary entries with the text that the player inputs. See the "Custom Briefing Editor" picture example from the Biki: https://community.bistudio.com/wiki/Arma:_GUI_Configuration It would be extremely cool if you got this to work. But you will find it very challenging. Share this post Link to post Share on other sites
SirBa5terD 2 Posted April 18, 2020 Thanks already! I really just want the intel to have any information and not to remain just blank, when the map shows up. So should be more "simple", i guess... maybe. Thank you for the post you made! Share this post Link to post Share on other sites
JohnKalo 657 Posted April 18, 2020 If you want a new log to be added when you pick up an intel that is easy. You can just call another description.txt. That way everything located at the top left when you open the map will be updated. Pictures can be added there too. Also if you want the intel itself to show something and not be just blank you can use a leaflet: 1 Share this post Link to post Share on other sites
SirBa5terD 2 Posted April 18, 2020 2 minutes ago, JohnKalo said: If you want a new log to be added when you pick up an intel that is easy. You can just call another description.txt. That way everything located at the top left when you open the map will be updated. Pictures can be added there too. Exactly this would be good to know 😄 Saw the video, that's another thing to consider another time, thank you for the link 🙂 1 Share this post Link to post Share on other sites
SirBa5terD 2 Posted April 18, 2020 So how would I realizeit by calling that description.sqf then? What wouldbe the init and the sqf content? 😄 Share this post Link to post Share on other sites
stburr91 1009 Posted April 18, 2020 I think this is what you want. This is an example from a mission I did. Put this into the init field of the intel object. The first line is how you include text in the log, and in the pop up box when the map opens after taking the intel. The second line is how you add the picture. You will of course have to provide your own picture. Quote [this,"RscAttributeDiaryRecord",["Phone Contacts","Blackbeard 782-244-9948",""]] call bis_fnc_setServerVariable; this setVariable ["RscAttributeDiaryRecord_texture","textures\phone screen.jpg", true]; 3 Share this post Link to post Share on other sites
SirBa5terD 2 Posted April 19, 2020 Exactly, what i wanted to do, thank you very much 🙂 Thanks to all, helping me here, you're absolutely humble and nice people! Share this post Link to post Share on other sites
Bad_Dad 4 Posted December 20, 2022 Put this into the init field of the intel object. edit "INTEL_IMAGE.jpg" and ["INTEL_NAME","INTEL_DESC",""] intel will be shared with everyone when picked up [ this ] call BIS_fnc_initIntelObject; this setVariable [ "RscAttributeDiaryRecord_texture", "INTEL_IMAGE.jpg", true ]; [ this, "RscAttributeDiaryRecord", ["INTEL_NAME","INTEL_DESC",""] ] call BIS_fnc_setServerVariable; this setVariable ["RscAttributeOwners", [west], true]; this setVariable ["recipients", west, true]; [ this, "IntelObjectFound", { params ["", "_foundBy"]; private _msg = format ["Intel found by %1", name _foundBy]; _msg remoteExec ["systemChat", 0]; } ] call BIS_fnc_addScriptedEventHandler; 1 Share this post Link to post Share on other sites