The_Referee 0 Posted August 25, 2022 Hello, I'm quite new for scripting, since a studied history and am working in Public Relations. But the Arma 3 Editor and die possibilites catched me, so im trying my best. I'm now encountering a problem, I realy can't find a solution for by myself. I'm trying to make an AI as intel via an addAction command. There are two possibilities: either the AI is alive or dead. Every case has its own intel text. AddAction and BIS_fnc_initIntelObject work just fine - seperated. But how can i combine these two? Here ist the script (maybe just what I think it is...) if (hasInterface) then { Terror addAction [ "Befragen", { [Terror, "RscAttributeDiaryRecord", ["Befragung", "Ok ok, ich rede! Kein Grund, mir die Waffe an den Kopf zu halten! Wir konnten mit der Kiste nichts anfangen, also haben wir Sie in die <marker name='marker_1'>Mine östlich von Tarawah</marker> gebracht. Und jetzt lasst mich in Ruhe!"]] spawn BIS_fnc_initIntelObject, deleteMarker "marker_0", "marker_1" setMarkerType "mil_objective", "marker_1" setMarkerColor "ColorRed" }, [], 10, true, true, "", "isPlayer _this && { _this distance _target < 2 } && (Alive Terror);" ]; }; if (hasInterface) then { Terror addAction [ "Durchsuchen", { [Terror, "RscAttributeDiaryRecord", ["Durchsuchung", "Die Leiche hat in einer der Manteltaschen in Handy gehabt. Eine der letzten Nachrichten ging an einen lokalen Anführer: Vor Ort wusse niemand etwas mit der Kiste anzufangen. Daher wurde sie dem Anführer überstellt. Seinen Sitz hat er in einer <marker name='marker_1'>Mine östlich von Tarawah</marker>."]] spawn BIS_fnc_initIntelObject, deleteMarker "marker_0", "marker_1" setMarkerType "mil_objective", "marker_1" setMarkerColor "ColorRed"}, [], 10, true, true, "", "isPlayer _this && { _this distance _target < 2 } && (!Alive Terror);" ]; }; Maybe is missunderstood the entry for the BIS_fnc_initIntelObject command, but I would really appreciate a little help. Thanks in advance! Share this post Link to post Share on other sites
pierremgi 4905 Posted August 27, 2022 terror is an AI (you can addAction on it for a speech or else but it's not an intel) Intel and Bis_fnc_initIntelObject is for pickable objects like documents, leaflets, photos... . In Intel objects (editorSubcategory = "EdSubcat_Intel") in config viewer. The function works with an action (take), not an addAction. You can't take an AI. What you can do is an addAction on AI with codes for titleText... or openMap... or createTask or even createDiaryRecord (similar to what you want) 1 Share this post Link to post Share on other sites
The_Referee 0 Posted August 27, 2022 ...as soon as my head finished hurting (after I slammed it on my desk several times), I tried createDiaryRecord and it worked just like I wished for. Thank you very much! Best example of overthinking a problem, when the solution is as easy as this. Share this post Link to post Share on other sites