Jump to content
Sign in to follow this  
jonesy_d

Help! script to re-activate AI after it was disabled??

Recommended Posts

Hello;

Okay, I've added a Bluefor soldier called " man2 " and added this to the initializtion area:

removeallweapons this; removeallitems this; removeheadgear this; removevest this; this unassignitem "nvgoggles"; this removeitem "nvgoggles"; this disableai "move";

as you can see it has the AI disabled

this disableai "move";

and I looked up how to enableAI but it doesn't seem to work with a trigger..

What I did with the trigger is as the Black Hawk choppers fly thru the trigger it suppose to enable the AI and then the AI walk to a waypoint out of the screen shot..any idea's..thanks..

Share this post


Link to post
Share on other sites

unitname enableAI "MOVE"; should work in a trigger. What have you tried exactly?

Edit:

It works fine, just put [man2 enableAI "MOVE";] in the trigger without the brackets and it will work.

Edited by TheFinanator
I just tested it

Share this post


Link to post
Share on other sites
unitname enableAI "MOVE"; should work in a trigger. What have you tried exactly?

Edit:

It works fine, just put [man2 enableAI "MOVE";] in the trigger without the brackets and it will work.

okay many thanks..I had it reversed...LOL

 enableAI man2" move " ;

once again thanks..

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
Sign in to follow this  

×