Jump to content

itscolt

Member
  • Content Count

    3
  • Joined

  • Last visited

  • Medals

Posts posted by itscolt


  1. 23 minutes ago, pierremgi said:

    You need a trigger with an area covering the Reds who have to reach the position. OFFOR present.

    condition (same as your trigger or triggerActivated yourTrigger or !alive bob  ... ). could be the same trigger if you don't have an area already.

    in init field:

    0 = thisList spawn {
      _units= _this;
       _grps = allGroups select {leader _x in _units};

      {

         while {(count (waypoints _x)) > 0} do {  deleteWaypoint ((waypoints _x) select 0) };

         _x addWaypoint [getpos bob,0];

      } foreach _grps;

    };

     

    Replace getpos bob with your own position, of course.

     

     

    Works perfectly, thank you!


  2. 12 minutes ago, Gunter Severloh said:

    Hello, Welcome to Bis forums!


    Normally you would just sync the trigger to the waypoint, and the AI following wouldn't move beyond that waypoint until the trigger was activated.

    A simple trigger could be an area trigger synced to your friendlies waypoint,  when the enemy enter the area ahead it will trigger and unlink the waypoint and

    the friendly you have will move forward and follow the waypoint.

     

    Is that generally what your after?

     

    When you have the chance review my AI compilation list, its a massive reference for everything AI related:

    https://forums.bistudio.com/forums/topic/165560-ai-compilation-list-of-addonsmodsscripts-threads-for-arma3/?page=1

     

    Not exactly.

     

    To go into further detail would be that I am playing blufor, the enemy is opfor. I'd like to kill an opfor target and upon his death all opfor units to stop what they're doing and move to the location near his body (the waypoint). Right now I have a trigger for his death and a waypoint I want opfor to move to but they ignore the trigger and move there when I start this mission. I don't have any predefined intstructions for every unit before this trigger other than follow their leader.

     

    Syncing the trigger and the waypoint doesn't do anything, they just ignore the trigger and move there when the mission starts.


  3. Hi, I'm stumped.

     

    I want my enemy AI to ignore a waypoint until a trigger is activated. I've looked this up and most of the replies are saying to disable the AI's movement until the trigger is activated. This is not what I want. I want my AI to act normally (eg. engage in combat, follow predefined waypoints, etc.) until this trigger is activated, then have them move to this waypoint. Is this possible?

     

    Thanks for any replies.

×