avibird 1 141 Posted October 7, 2022 HOW would I put disableAI "PATH" into the code below to replace dostop _x 0 = [this,"DELAY=",30,"PAUSE=",25,"EXIT=",myExitTrigger2,"INIT=", "{dostop _x} forEach (units _ProxyThis);(group _ProxyThis) setVariable ['Vcm_Disable',true]"] spawn jebus_fnc_main; Cant't get it to work with disableAI "PATH" Share this post Link to post Share on other sites
Stormmy1950 41 Posted October 7, 2022 0 = [this,"DELAY=",30,"PAUSE=",25,"EXIT=",myExitTrigger2,"INIT=", "{_x disableAI 'PATH'} forEach (units _ProxyThis);(group _ProxyThis) setVariable ['Vcm_Disable',true]"] spawn jebus_fnc_main; Like this myb ? 1 Share this post Link to post Share on other sites
avibird 1 141 Posted October 7, 2022 @Stormmy1950 not working units still move at mission start and still move to engage units. as well as Vcom is not disable. Code not running correctly. It works fine with the dostop _x but I want to path because I have a trigger if blufor units enter building the path is then enabled. This should be a easy fix Share this post Link to post Share on other sites
Harzach 2505 Posted October 7, 2022 14 minutes ago, avibird 1 said: Code not running correctly. Did you retype your existing code, or did you copy/paste his line of code? 1 Share this post Link to post Share on other sites
avibird 1 141 Posted October 7, 2022 copy paste because I am lazy lol I will type the whole code out and see thank you. Share this post Link to post Share on other sites
Harzach 2505 Posted October 7, 2022 The same goes for your post in the auto-flip topic. Copy/pasting from the forum can create corrupt characters. You can check/clean code easily - just copy/paste into a code block, delete any red dots, then copy it back out of the code block. 1 Share this post Link to post Share on other sites
avibird 1 141 Posted October 7, 2022 Lol I think you told me that before over the years. I will try my friend ty Share this post Link to post Share on other sites
avibird 1 141 Posted October 7, 2022 Still getting text error in editor black box with code!!! Share this post Link to post Share on other sites
avibird 1 141 Posted October 7, 2022 Working now no error massages. I have no clue but just deleted the code and started from scratch. Thanks for the help @Stormmy1950 and @Harzach 1 Share this post Link to post Share on other sites
Harzach 2505 Posted October 7, 2022 1 minute ago, avibird 1 said: I have no clue but just deleted the code and started from scratch. Yup, sounds like bad characters. Glad you're sorted. 1 Share this post Link to post Share on other sites