Jump to content

Vogel69

Member
  • Content Count

    5
  • Joined

  • Last visited

  • Medals

Community Reputation

1 Neutral

About Vogel69

  • Rank
    Rookie
  1. to pick-up civil just near the player's heli without need of waypoint: // variables _passagers = nearestObjects [getPos player , ["Woman01_Random_H","Citizen_Random_H","SeattleMan_ Random_H","Woman03_Random_H","Woman02_Random_H","W orkman_Random_H","Functionary_Random_H"],150]; _grpcivils = group (_passagers select 0); _vehicule = vehicle player; _placeslibres = _vehicule emptyPositions "cargo"; // create group of passagers in function of empty place in the player's heli for "_x" from 1 to (_placeslibres - 1) do { [_passagers select _x] join _grpcivils; }; // to make civil get in player's heli {_x assignAsCargo _vehicule; [_x] orderGetIn true;} forEach units _grpcivils;
  2. just perfect... just what I need :) thank you very much Celery ---------- Post added at 07:38 PM ---------- Previous post was at 07:06 PM ---------- know it's ok with this code: this addMagazine "30Rnd_556x45_Stanag_H"; this addWeapon "M4A1_H";
  3. thank you kylania I will try that in few hours... ---------- Post added at 05:04 PM ---------- Previous post was at 04:10 PM ---------- I just know that script line in unit init. section don't work too: this addweapon "M16"; I've tried some other Arma2 classname like "AK47", "AK47_BASE" without "addmagazine" command but it failed too... may be I forgot to add some script in MPmission directory ? soory but i'm real newby in editing & scripting bis game... :confused:
  4. may be it's a stupid question but I can't add a weapon on unit at start... I try to add this line in the unit's initialization section: this addMagazine "M4A1"; this addWeapon "M4A1"; but I got an error and no weapon at mission start: "No Entry 'bin\Config.bin/cfgMagazines.M4A1' or "No Entry 'bin\Config.bin/cfgWeapon.M4A1' I try to find a file nommed config.bin in take on helicopter path (I'm on steam) in order to find the right "ClassName" of the weapon but no config.bin file... some help please ? thanx
  5. may be it can help you.... to add crew on a medium heli at start, I use one line of this code in the init section of each crew member: co-pilot seat: this moveInTurret [heli_1,[0]]; left gunner seat: this moveInTurret [heli_1,[1]]; right gunner seat: this moveInTurret [heli_1,[2]]; back pilot seat: this moveInTurret [heli_1,[3]]; ---------- Post added at 03:20 PM ---------- Previous post was at 03:13 PM ---------- and after some test: a script to take automaticaly the nearest civils in my chopter (with animation) function of free cargo seat available in chopter... (sorry for the comment in french)
×