Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×

sprite2712

Member
  • Content Count

    1
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About sprite2712

  • Rank
    Newbie
  1. sprite2712

    AI Using Flares

    Hi all, found an easy way to do this. give it a go and let me know how you get on. 1. open the editor. 2. place a blufor unit set as player. 3. place a blufor ai unit name it unit1. 4. in unit1 initialization box paste: removeallweapons this; removeallassigneditems this; this addweapon "arifle_MX_GL_F"; this addmagazine "UGL_FlareWhite_F"; this addmagazine "UGL_FlareWhite_F"; this addmagazine "UGL_FlareWhite_F"; this addmagazine "UGL_FlareWhite_F"; this addmagazine "UGL_FlareWhite_F"; this will give the ai unit MX 6.5mm assault rifle with a grenade launcher and 5 white 40mm flares. 5. place a move waypoint for the ai unit to move to. 6. Place a trigger, set radius to 10 x 10 to make a circle, set activation to blufor, pressent , once, in condition box type unit1 in thislist; in OnAct box type unit1 fire ["GL_3GL_F"]; Place the trigger on top of the move waypoint. The direction the ai unit runs to his waypoint should be the direction the flare goes in. click preview. give it a try any questions let me know and ill try and help out.
×