Arma 3 Tutorial: Calling in existing units as Reinforcements using a Trigger

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ต.ค. 2024
  • Script:
    SquadEmbark = SQUADNAME addwaypoint [position VEHICLENAME, 0];
    SquadEmbark setWaypointType "GETIN NEAREST";
    SquadMove = SQUADNAME addwaypoint [(screenToWorld [0.5, 0.5]), 0];
    SquadMove setWaypointType "MOVE";
    I needed a way to call in an AI reinforcement squad that already existed in the editor for my mission, and didn't find a satisfying way to do it, so I came up with this after a lot of testing and pain. Probably not THE best way, but it works pretty well.

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

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

    Sir, PLEASE make more videos about these topics.

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

    Seeing this work is like Liquid Gold and i accidentally did this without adding the Vehicle and it works with sending unit commands also, pretty cool

  • @Omar-lq3ri
    @Omar-lq3ri ปีที่แล้ว

    Love this, new sub

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

    Not gonna lie your ending caught me off guard lmao 😂 also im currently trying to make a C-130 land and have troops get off and go to a location of my choosing do you know how i could do that? I think you should keep posting these way more helpful then most vids. haha

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

      Sorry for not responding, this isn't my main account. I've not opened the Arma editor in about a month or two, but I believe you would:
      1: choose a location for the C-130 to land
      2: put down some object there (preferably something small and invisible like a patch of grass) and give it a variable name
      3: in the script set a waypoint with its position as your object
      4: set the waypoint type to UNLOAD or GET OUT
      Repeat the process to set a move waypoint for your ground squad

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

      @@halvdan9269 Hi, I'm geting [ error in the activation init, any idea what that may be? Great idea for a mission good work, thanks,

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

      @@dononeill1256 hi, sorry again for not responding for so long, this is my main account and i'm currently following my own tutorial. There is an error in the third line of the script in the description. it should be
      SquadMove = SQUADNAME addwaypoint [(screenToWorld [0.5, 0.5]), 0];
      Edit: I've fixed it now

  • @samb4678
    @samb4678 10 หลายเดือนก่อน

    It didn’t work for me. The AI just stood there and wouldn’t get in the vehicle. Can someone help me please? Thanks

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

    Ok can call the heli but now I need the heli to pick up my crew and send us back to base can you help.

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

      Use support module heli transport

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

    Sorry but it doesn't work, I have no idea why, that was very basic!?

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

      its a comma somewhere in the description text that is wrong
      SquadEmbark = squad addwaypoint [position alpha, 0];
      SquadEmbark setWaypointType "GETIN NEAREST";
      SquadMove = squad addwaypoint [(screenToWorld [0.5, 0.5]), 0];
      SquadMove setWaypointType "GETOUT";
      SquadMove = squad addwaypoint [(screenToWorld [0.5, 0.5]), 0];
      SquadMove setWaypointType "MOVE";