Jump to content

commander jao

Member
  • Content Count

    67
  • Joined

  • Last visited

  • Medals

Posts posted by commander jao


  1. How's your scripting? I have some good scripts you can use for multiplayer helo insertion and pickup.

    ---------- Post added at 11:09 AM ---------- Previous post was at 10:54 AM ----------

    1. I created a helicopter called "helo3", controlled by AI and not playable with HeloGroup3 = group this; in its init line.

    2. I then created my playable units (s1 to s6), and added "this assignAsCargo helo3;this moveInCargo helo3;" to each of their init lines. This puts them in the helicopter

    3. I created a "MOVE" waypoint for helo3, with helo3 land "GET OUT"; to be executed on completion, activation radius set at 5 meters.

    4. I created an invisible H pad near the move waypoint, where I want it to land.

    5. I created an empty waypoint where I wanted the helicopter to return to, and called it "end_helo3";

    6. I created a script, that gets activated upon mission start (could just put it in an init.sqf file):

    //Wait till landed
    _end = markerpos "end_helo3";
    waitUntil {((position helo3 select 2) < 1)};
    
    //Wait until boarded, time expired, or units near
    _timelanded = time;
    waituntil {(helo3 emptypositions "cargo" == 7) OR (time - _timelanded > 120 )};
    
    _wp = HeloGroup3 addWaypoint [_end, 10];
    _wp setWaypointStatements ["true", "deletevehicle helo3;"];
    _wp setWaypointType "MOVE";

    What does this do?

    It causes the helicopter to fly in, land, and then remain landed but with the engine running until all the people get out (but only if it is a UH1Y, as that has seven cargo slots when empty... change this value for other helicopters!), or two minutes have passed. If either of those occur, the helicopter flies merrily away off into the sunset and then gets deleted for its trouble.

    two questions

    1) when i type in "this assignAsCargo helo3;this moveInCargo helo3;" in to the init field of each unit "EXACTLY" mind, they don't board the chopper. how do I fix this so they do get in it?

    2) where do you put the script that activated upon mission start?


  2. not really sure but are you running with post-processing enabled? If so, disable/re-enable it and see if that fixes it.

    you can't disable Post-processing. but if you switch to low it doesn't fix it in windowed either

    ---------- Post added at 06:18 PM ---------- Previous post was at 05:35 PM ----------

    also my loading screen seems to have changed


  3. i downloaded land tex and the a ARMA 2 launcher can't remember which.

    and the Land Tex isn't their when you go to make a new scenario. similar the FLIR script i downloaded doesn't show?

    probably very simple question with equally simple answers.

    if you could tell me or direct me to the answer it would be much appericated....

    you know what i mean right

×