Jump to content

Tominator

Member
  • Content Count

    7
  • Joined

  • Last visited

  • Medals

Posts posted by Tominator


  1. Hi,

    I have all 5 mods loaded and the mission in the folder but I am getting two errors.

    I disabled all other mods and enabled the 5 mods. After the restarted and got: "Addon 'GLT_Falcon_A2_config' requires addon 'Extended_Event_Handlers'

    After that I got a "You cannot play edit this mission ; it is based on downloadable content that has been deleted.glt_falcon,jsrs_m134" message.

    I believe JSRS is a sound mod, did you have it installed on the mission?

    I have all 5 mods in their own @ folders and an addon subfolder and their respective pbo's + keys.

    Any idea what's up?


  2. Now you're using an array for the getMarkerPos, but it returns an array. So you'll get a double array :p

    osprey = "Land_UWreck_MV22_F" createVehicle [1754,5846,0];
    heli1 = "B_MH9_F" createVehicle (getMarkerPos "heliPos");
    // might have to sleep a little first
    sleep 0.1;
    heli1 attachto [osprey,[0,0,0]];
    

    Thanks for the third time but the helicopter spawns about 25 meters away. Here's a picture:

    6E6D83T.jpg

    I copy and pasted what you put and left the nul part. Any ideas? Could it be one of those objects that can't have things attached to it?

    //Use nul = [this] execVM "ospreySpawn.sqf";
    
    osprey = "Land_UWreck_MV22_F" createVehicle [1754,5846,0];
    heli1 = "B_MH9_F" createVehicle (getMarkerPos "heliPos");
    // might have to sleep a little first
    sleep 0.1;
    heli1 attachto [osprey,[0,0,0]];
    

    Actually didn't get it. Trying with different vehicles now. Hmm..

    ---------- Post added at 20:08 ---------- Previous post was at 20:08 ----------

    Actually didn't get it. Trying with different vehicles now. Hmm..

    Tried in init field again, still says 'missing ;'

    Maybe that is the reason it's not attaching?


  3. Needs to be an array.

    Thanks Cuel!!!

    Not directed to you, I am trying to attach something to the Osprey...

    It spawns the Osprey, but not the MH9

    Any insight?

    //Use nul = [this] execVM "ospreySpawn.sqf";
    
    osprey = "Land_UWreck_MV22_F" createVehicle [1754,5846,0];
    heli1 = "B_MH9_F" createVehicle [getMarkerPos "heliPos"];
    heli1 attachto [osprey,[0,0,0]];
    

    I tried this next but got "missing ;"

    Spawned a MH9 and put this in init field while running the ospreySpawn.sqf:

    heli1 attachto [osprey,[0,0,0]];


  4. "Land_UWreck_MV22_F" createVehicle (getMarkerPos "wrkPos");

    You need a className in "" and a valid position eg the marker above named wrkPos. [0,0,0] is a valid position but it's at the bottom left of the map. Players position would be (position player) or (getPosATL player).

    Sounds simple enough to me! I'll try this out when I get home.

    Thanks to everyone who helped. You got to learn somehow!

    Edit: Here's the script I used. I couldn't get it to work in the init field for some reason if someone could explain that!

    //Save in notepad, name ospreySpawn.sqf and save in Arma 3 directory
    //Place unit and type this in init field: nul = [this] execVM "ospreySpawn.sqf";
    //wrkPos is marker placed down in the editor. It is the sixth tab down, above modules.
    // Name it whatever you want, just make sure you change the name inside the quotes
    
    "Land_UWreck_MV22_F" createVehicle (getMarkerPos "wrkPos");

    Edit Edit: How would lay down a specific point? I tried the below and did not work:

    "Land_UWreck_MV22_F" createVehicle (1765,5872,5.4);


  5. Hi,

    I'm wondering how I can place wrecks at specific locations for a mission I am making

    I tried going through the config viewer and only found HelicopterCrash (I am looking to get the osprey one)

    This is as far as I got but neither worked:

    HelicopterCrash createVehicle [0,0,0]

    HelicopterCrash createVehicle player

    Any help finding correct models and using the correct command to place it on the map would be extremely helpful!

    Thanks!

×