Jump to content
avibird 1

need assist with disableAI "PATH" into a code below

Recommended Posts

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
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 ?

  • Thanks 1

Share this post


Link to post
Share on other sites

@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
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?

  • Like 1

Share this post


Link to post
Share on other sites

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

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.

  • Like 1

Share this post


Link to post
Share on other sites

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

Still getting text error in editor black box with code!!! 

Share this post


Link to post
Share on other sites

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

  • Like 1

Share this post


Link to post
Share on other sites
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.

  • Thanks 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×