Jump to content

matteo1944

Member
  • Content Count

    247
  • Joined

  • Last visited

  • Medals

Posts posted by matteo1944


  1. Thanks Zulu,but I was more thinking on adding bandages,morphine,ephinephrine,rucksacks etc:

    _Weapons=["m9","RH_tec9","RH_muzi","mp5A5","ak74","RH_usp"," RH_Deagleg","RH_mk2","RH_mk22","RH_g17"]

    but instead _weapons it will be:

    _AID=["bandage","morphine","........"] or

    _RUCKSACKS=["alice pack","raid pack","........."]

    I could even do that,but this part bothers me

    randomam= _ammo select _ranselect

    randomwep=_Weapons select _ranselect

    _box addmagazinecargo [randomam,random 3];box addweaponcargo [randomwep,1];

    box=_box

    publicVariable "box"

    publicVariable "randomam"

    publicVariable "randomwep"

    exit

    I don't know under what category AID or RUCKSACKS are,or how to implement them into this part of script,so please if there is anyone willing to help me out it would be great!


  2. Can someone help me out with this script:

    ? !isServer: exit

    ~random 30

    _Weapons=["m9","RH_tec9","RH_muzi","mp5A5","ak74","RH_usp","RH_Deagleg","RH_mk2","RH_mk22","RH_g17"]

    _ammo=["15Rnd_9x19_M9","30Rnd_9x19_tec","32Rnd_9x19_Muzi","30Rnd_9x19_MP5","30rnd_545x39_AK","15Rnd_9x19_usp","7Rnd_50_AE","10Rnd_22LR_mk2","8Rnd_9x19_Mk","17Rnd_9x19_g17"]

    _box=_this select 0

    _stagtime=boxarmtime

    boxarmtime=boxarmtime+10

    #start

    ~0.5

    _building= nearestbuilding _box

    _noofpos=0

    while {format["%1",_building buildingPos _noofpos] != "[0,0,0]"} do {_noofpos = _noofpos + 1}

    ?(_noofpos <= 3):_box setpos [((getpos _building) select 0) + random 40 - random 40 ,((getpos _building) select 1) + random 40 - random 40];goto "start"

    ~0.5

    _box setPos (_building buildingPos random round _noofpos - 1);

    ~_stagtime

    _box setdir random 360;

    _ranselect= round random 9

    ~1

    randomam= _ammo select _ranselect

    randomwep=_Weapons select _ranselect

    _box addmagazinecargo [randomam,random 3];box addweaponcargo [randomwep,1];

    box=_box

    publicVariable "box"

    publicVariable "randomam"

    publicVariable "randomwep"

    exit

    This is script from Quarantine mission,and I'm using ACE mod with this mission.Since ACE have more weapons and stuff like bandages,backpacks,how can I add them to this ammo box,or any box,or maybe spawn them on the ground?


  3. I know I've been boring you all for a while now,but I can't get this to work...

    I'm using that manual about mission editing,I've tried all those init lines,and all I get is bunch of troops placed either in the middle of the sea,or in the desert (depends on the map).

    Any help is welcome,and I tried every solution posted on this forum,none of them worked...

    thanks in advance!

×