Arma 3 Eden Editor | Make AI join group and follow

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 มิ.ย. 2024
  • Want to make an AI join your group and follow you? This how it's done.
    AI:
    In the Variable Name, give the AI a name. I have used the variable name of Hostage in this example. You can use whatever name you like.
    In the Init field, place the following:
    this disableAI "move"; this setcaptive true;
    This will prevent the AI from moving, and it will make him a hostage that needs to be rescued.
    Next place a trigger, and in trigger activation select
    - Type = None
    - Activation = BLUFOR
    - Activation Type = Present
    In the trigger condition field type the following:
    player distance hostage (put a less than symbol here)2;
    In On activation field type the following:
    [hostage] join player; hostage enableAI "MOVE"; hostage setCaptive false;
    Now when ANY player approaches, the AI will join the players group. Keep in mind that after joining your unit, the AI player may switch to another unit if any other players are within 2 metres of him.
    Thanks to Just a Gamer for the question.
    If you like my tutorials, PLEASE LIKE, SHARE AND GIVE ME A SUB!
    Thanks so much for watching!
    Thank you to Bohemia Interactive Studios for the greatest Military Simulation game ever made.
    Missions and videos take time to make, please help me out by becoming a patron: / ocb_au
    Or you could make a one-off donation of a few bucks and buy me a coffee!
    paypal.me/ocbau
  • เกม

ความคิดเห็น • 29

  • @kakarotwolf
    @kakarotwolf 3 ปีที่แล้ว +10

    Please keep making these tutorials, you're literally the most helpful content creator when it comes to Arma editing! 🙏 You're up to date and you're easy to follow. I love it.

  • @bitboydcs9825
    @bitboydcs9825 2 ปีที่แล้ว +3

    Great video, excellent details on the setup. You answered a key question I had about the "Player" variable....as in it relates to any playable unit you have placed in the mission, perfect for MP stuff. Thanks for sharing.

  • @stealthisoptional2711
    @stealthisoptional2711 3 ปีที่แล้ว +2

    Thank you!!!!! Keep up the great tutorials!!!

  • @johnisaac1599
    @johnisaac1599 11 หลายเดือนก่อน +1

    Thank you for this video! Very helpful.

  • @siegeteam7599
    @siegeteam7599 3 ปีที่แล้ว +1

    THX so much this was really helpful!!!!!

  • @bepiio7273
    @bepiio7273 3 ปีที่แล้ว +2

    HI, now i'm trying to do my first mission on Arma 3. It's very simple: you have to take an hostage and put him on a helicopter. the only problem is that I want to end mission after some sacond when the hostage is on board and failed the mission if the hostage is not on the helicopter when it take off but i can't do it. Is possible to activate trigger when a unit is on a specific veichle?
    Thank also a lot for this tutorial, it really helps me!

  • @KawaiiSoulB42
    @KawaiiSoulB42 6 หลายเดือนก่อน

    Im using a recuit SQF how I get them to appear as a group. They joined but not showed up on the list. Just make the trigger?

  • @MudMotorsMax
    @MudMotorsMax 2 ปีที่แล้ว +1

    Sweet keep going man I’ve subscribed. I’m confused on this editor

    • @OnlineCombatBN
      @OnlineCombatBN  2 ปีที่แล้ว

      You'll pick it up. Plenty of help out there for those new to Arma 3 editing.

  • @Bob24778
    @Bob24778 ปีที่แล้ว

    Just a heads up, idk if its just me but this worked on multi-player and local servers for me but when I tried it on a dedicated server, the trigger condition would trip. I found a way around it by using an area trigger with no condition but the same activation.

    • @OnlineCombatBN
      @OnlineCombatBN  ปีที่แล้ว

      I've never had that issue using these codes. Glad you fixed it.

  • @loahgaming2267
    @loahgaming2267 2 ปีที่แล้ว

    What if I want multiple hostages to join? Should I just replicate all the code lines or do I have to insert any additional lines?

    • @OnlineCombatBN
      @OnlineCombatBN  2 ปีที่แล้ว

      You can replicate but each hostage will need a separate variable name.

  • @usmcveteran9723
    @usmcveteran9723 6 หลายเดือนก่อน

    I know this is an older video but I was hoping you could help me out. I'm using your script on a downed pilot in PF SOG. Everything works fine but I can't get the pilot to follow me. I get with in 2 meters of him, he is commanded to join group and he does but when I move off he doesn't follow me.....he just stands there. Now I can use the commands to "Move There" and he goes where directed or to "crouch", or go "prone" and he does but I would really like him to just follow the me (group) as we move toward the extraction LZ. Any thoughts on what i might be doing wrong? Much thanks

    • @OnlineCombatBN
      @OnlineCombatBN  6 หลายเดือนก่อน

      After he joins your group, how far do you move away from him to test whether he's following you or not?

    • @usmcveteran9723
      @usmcveteran9723 6 หลายเดือนก่อน

      @@OnlineCombatBN a long way...over 100 yards or more

  • @michael943
    @michael943 ปีที่แล้ว +1

    Great video mate, worked a treat, I've tried to tweak it abit and make a capture enemy and load into a chopper objective, I can capture the enemy and escort them around but can't make the target get into a chopper, I've tried getting the ai to join my team and ordering them but no luck, any suggestions?

    • @dough254
      @dough254 3 หลายเดือนก่อน

      Same I can’t control him once he joins. He runs and hides

  • @npa4863
    @npa4863 2 ปีที่แล้ว +2

    can you do a similar thing for like a downed (incapacitated) ai that needs healing then join group?

    • @OnlineCombatBN
      @OnlineCombatBN  2 ปีที่แล้ว +1

      Sure, I'll make a video to show you how.

  • @lukelsue4430
    @lukelsue4430 2 ปีที่แล้ว +1

    😎🤙🏼

  • @CostinBucuresteanu
    @CostinBucuresteanu 3 ปีที่แล้ว +2

    thx this is a great video, the code knowledge is C++?

    • @OnlineCombatBN
      @OnlineCombatBN  3 ปีที่แล้ว +2

      Its not c++ that im aware of. Its code specific to arma.

  • @crisdesousa7195
    @crisdesousa7195 ปีที่แล้ว

    can this work if the hostage is independent or civilian or do they have to be blufor??

    • @OnlineCombatBN
      @OnlineCombatBN  ปีที่แล้ว +1

      It works with any. Just make sure the variable name is the same.

    • @crisdesousa7195
      @crisdesousa7195 ปีที่แล้ว

      @@OnlineCombatBN love your work.

  • @kingimad6243
    @kingimad6243 2 ปีที่แล้ว +1

    Please can you make tutorial how to make group of AI follow player when player is walking and when he is getting car

    • @OnlineCombatBN
      @OnlineCombatBN  2 ปีที่แล้ว

      If the AI are in your group, they will follow you. You can command them to get into a vehicle.