Babylon1984 2 Posted April 4 Hello, This is my first post on this forum. I am trying to disable a trigger and reactivate it using another trigger. Currently, I am able to disable the trigger, but I can't find a way to reactivate it. On the map, I have placed two entities. Entity 1 (mine) is called "ap1". In its init, I have put: this setIdentity "ap1"; The second entity is called "bob". In its init, I have put: this setIdentity "bob"; It will be used by the artificial intelligence. It is in the same group as me... I have added a trigger that starts at the beginning of the game. Variable name: ReloadAI_bob Repeatable: checked Condition:true && round (time %60) ==1 and (({_x == "30Rnd_762x39_Mag_F"} count magazines bob) <= 1) On Activation:bob addMagazine "30Rnd_762x39_Mag_F"; This means that "bob" reloads every 60 and 1 seconds when he has a magazine left in his inventory. I then added another trigger that will disable the "ReloadAI_bob" trigger, so it will no longer be allowed to have additional magazines. Variable name: desactivation Size: 3/3/0.50 Shape: Rectangle Activation: player or BLUFOR Activation type: Present Condition: this On Activation:ReloadAI_bob setTriggerStatements ["FALSE", "", ""]; So far so good, when I walk inside the "desactivation" trigger surface, the "ReloadAI_bob" trigger stops. 😀 If I want to reactivate the "ReloadAI_bob" trigger at some point in the mission, with the help of another trigger, what should I write? I have a 3rd trigger (which will be used for reactivation) Variable name: ReloadAI_bob_enable Size: 3/3/0.50 Shape: Rectangle Activation: player or BLUFOR Activation type: Present Condition: this (or triggerActivated desactivation) On Activation:?????? What to put in "On Activation": ????? 😥 I would like something simple, no .sqf file please. Thank you for your answers, so precious. 😉 Babylon 1 Share this post Link to post Share on other sites
Larrow 2820 Posted April 4 Well you remove the original Condition and Activation with desactivation trigger, so with the ReloadAI_bob_enable trigger just replace them. ReloadAI_bob setTriggerStatements [ "true && round (time %60) ==1 and (({_x == '30Rnd_762x39_Mag_F'} count magazines bob) <= 1)", "bob addMagazine '30Rnd_762x39_Mag_F';", "" ]; Note the ' around the magazine name due to STRING in a STRING. 1 Share this post Link to post Share on other sites
Babylon1984 2 Posted April 4 Dear Larrow, I wanted to thank you for your help with my question on the forum. Your solution worked perfectly and now, i was able to reactivate my trigger in Arma 3. 😋 I really appreciate your assistance and I am grateful for your help. Best regards, 😁 Babylon Share this post Link to post Share on other sites