fawlty 30 Posted April 4, 2022 I'm trying to do something like this but instead of path I would like it to be show or hide. Here's how my repeatable trigger is set up, in this case for civilians but it doesn't matter. Condition this && player inArea thisTrigger On Activation {_x enableAI "PATH"; _x setVariable ["pathEnabled",TRUE] } forEach thisList On Deactivation {_x disableAI "PATH"; _x setVariable ["pathEnabled",nil] } forEach (allUnits select { !isNil {_x getVariable "pathEnabled"} }) Wanted something like this rather than having to syc all the ai with the module. Thanks Share this post Link to post Share on other sites
beno_83au 1369 Posted April 5, 2022 I think you're looking for this: https://community.bistudio.com/wiki/hideObject 1 Share this post Link to post Share on other sites
Joe98 92 Posted April 5, 2022 You could place a marker over the trigger. Then show and hide the marker. . Share this post Link to post Share on other sites
fawlty 30 Posted April 5, 2022 Thanks Beno, I got the first part "On activation" to work but no luck with "On deactivation". Thanks anyway. Joe, thanks for the reply but I think we may be talking a different subject. Share this post Link to post Share on other sites
dreadedentity 278 Posted April 6, 2022 If you hide the units, don't forget to: enableSimlulation false; and possibly: allowDamage false; I believe hidden units can still shoot and be shot 1 Share this post Link to post Share on other sites
JD Wang 352 Posted April 6, 2022 You don't have to sync the AI with the module. Just group all the units into one layer, then in the show/hide module it allows you to select a layer to show/hide. Layers are just so handy more people need to use them. 5 1 Share this post Link to post Share on other sites
stburr91 1010 Posted April 6, 2022 12 hours ago, JD Wang said: You don't have to sync the AI with the module. Just group all the units into one layer, then in the show/hide module it allows you to select a layer to show/hide. Layers are just so handy more people need to use them. I agree that layers are handy, but they are just so damn unintuitive to use, and set up. I don't understand why they didn't make them much more like the layers in photo editing programs, then everyone would already know how to use them. 1 Share this post Link to post Share on other sites
fawlty 30 Posted April 7, 2022 JD thanks for the tip I didn't realize layers are available after all these years of arma mission building. I used layers a lot when mission building Rise of flight and IL2 Flying Circus. See you can teach a old dog new tricks. Thanks to all for the input Cheers...F Share this post Link to post Share on other sites