Results 1 to 3 of 3

Thread: Placing Script

  1. #1

    Question Placing Script

    Hey all I need some help with a script. I’ve been using a script to place units in a vehicle like driver and so on.

    Now if I use a unit that has multiple Gun places like a Blackhawk I can only place one gunner and the pilot. Is there a command that will place units in both weapon places.

    I’ve been using this command

    this moveInGunner Unit1;

    Do I need to add to this or is it another script I need?

  2. #2
    If i am not mistaken you have to moveInCargo, check also the alternatives in the wiki page.

    Also i read somewhere that those cargo positions include any mounted guns (depending on vehicle?) and the order is "static", meaning you can't specifically choose the place into which to assign the unit, requiring you to keep filling the vehicle until the position is occupied.

    Check this and this (if you are unfamiliar with that devheaven, it is were one can request features and bugs be reported)

  3. #3
    the command is this moveinturret Unit2

    that will put your 2nd gunner in the second blackhawk position.

    you need the COMREF... it has everything every scripting command and every unit name... http://www.ofpec.com/COMREF/

    then you can use things like

    Groupone=group this; {_x moveincargo helo1} foreach units Groupone

    That will put a whole group into cargo in your helo without having to type in each units Init box.

    After that you can begin using the group name to write scripts or init files to give them specific group names and asign radio call signs to give you more realism/imersion... Have fun and good luck mission making.

    kendo
    Last edited by Kendo J; Mar 31 2012 at 23:02.

Similar Threads

  1. OnTrack Script for placing trains on rails
    By Coyota in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 1
    Last Post: Dec 7 2010, 02:56
  2. Placing point on map for script???
    By Ben_S in forum OFP : MISSION EDITING & SCRIPTING
    Replies: 5
    Last Post: Apr 9 2010, 14:53
  3. Placing Units
    By todayskiller in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 9
    Last Post: Jan 1 2010, 21:32
  4. Placing objects
    By SantaMania in forum OFP : MISSION EDITING & SCRIPTING
    Replies: 2
    Last Post: Oct 28 2002, 08:28
  5. Placing everything from within the Editor?
    By Yskonyn in forum OFP : MISSION EDITING & SCRIPTING
    Replies: 5
    Last Post: Nov 26 2001, 09:28

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •