Announcement

Collapse
No announcement yet.

Set group ROE on trigger

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Set group ROE on trigger

    Hi does anyone know if there is a way to switch or set an AI groups ROE? I thought maybe AI TASK SET or AI TASK PUSH. Can't get any of these options to work though,.
    -----------------------------------------------

    Intel® Core™i7 Quad Core Processor i7-6700 (3.4GHz) 8MB Cache |
    32GB HyperX FURY DDR4 2133MHz | MSI GeForce RTX 2070 ARMOR 8G |SSD 512GB 970 PRO V-NAND M.2

    #2
    yes but ive not done via the ME. If you have Moose then I can show you that code.
    SET task puts it to the top of the queue, push on puts it in the queue and this can be confusing. Still confuses me.
    ___________________________________________________________________________
    SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING * PLAYLIST

    Comment


      #3
      Originally posted by TheTrooper View Post
      Hi does anyone know if there is a way to switch or set an AI groups ROE? I thought maybe AI TASK SET or AI TASK PUSH. Can't get any of these options to work though,.
      You can do it through the ME if you want. If you want to change the ROE on a waypoint (Ingress Point, for example), you can use the Advanced Waypoint Actions (I think it's under Set Option). Otherwise, you can use the AI Task Push. For that, you'll have to create the actual AI Task for that Group (one of the tabs next to where you set the weapons for the group), and then reference that action in the dropdown of the AI Task Push in the trigger menu.

      If that's confusing, let me know, and I can try to post some pictures when I'm in front of my computer.

      Comment


        #4
        I'd recommend against Advanced Waypoint Actions for toggling ROE. They are specific to location rather than condition.

        The third tab in the group menu (the same place you find Advanced Waypoint Actions) is called Triggered Actions.

        Click Add -> Set Option - > ROE -> WEAPONS HOLD

        Click Add -> Set Option -> ROE -> WEAPONS FREE


        At WP0 use Advanced Waypoint Actions to set the desired starting state for your flight.

        Now, you can use any normal trigger condition to adjust the flight's ROE using AI TASK PUSH
        MY MISSIONS AND CAMPAIGNS:
        THE GEORGIAN WAR - OFFICIAL F-15C DLC
        Operation Hydra - Large scale MP CO-OP in the Persian Gulf

        The New Soviet Republic - Ongoing MP CO-OP Campaign in the Caucasus region
        Operation Wax Wings - Large scale MP CO-OP in the Caucasus region
        Operation Lead Sky - Large scale MP CO-OP in the Persian Gulf
        Operation Skyhook - Large scale MP CO-OP in the Persian Gulf

        Comment


          #5
          Originally posted by Pikey View Post
          yes but ive not done via the ME. If you have Moose then I can show you that code.
          SET task puts it to the top of the queue, push on puts it in the queue and this can be confusing. Still confuses me.



          How would you do this is Moose? I am assuming Group:OptionROE?


          Like:
          Code:
          changegroup = GROUP:FindByName('attackgroup')
          changegroup:OptionROE(WeaponFree)

          Could something be done with a set pre-fix? So like all groups with prefix 'Attack' could be changed at once?

          Comment


            #6
            in moose you can create a set based on a name, then iterate thru the member of that set and setoption on each one, check the moose demo missions on SET / SET docs
            Click here for tutorials for using Virpil Hardware and Software


            Click here for Virpil Flight equipment dimensions and pictures
            .

            Comment

            Working...
            X