Jump to content

Wiket

Member
  • Content Count

    20
  • Joined

  • Last visited

  • Medals

Posts posted by Wiket


  1. I have a ton of doors on my map that I want to be locked unless someone has a specific item. A mod I am using adds several types of keys so that's the class name you see in the script. Is there any way for this to work on dedicated, and only allow people with the key to open the door? Or will this work already how it is? Ty all!  If its easier it could just work if people are in the trigger area, but I was hoping there was a better way.

    https://gyazo.com/cc495d1624a7229995c6abd0a9ba6b10


  2. I am a VERY novice scripter and I normally wouldn't ask for help but I cant figure out how to pull a variable name from an array in this instance (the classnames are from a mod I have on)

    scrap = ["ar_scrap_airfilter","ar_scrap_old_cartridges","ar_things_weapon_parts_low","ar_things_weapon_parts_med","ar_things_weapon_parts_high","ar_scrap_electronic","ar_scrap_can_empty","ar_scrap_scrapmetal","ar_scrap_rustymetal","ar_scrap_rustycomponent","ar_scrap_gasmask","ar_scrap_rubbertube","ar_things_boards","ar_things_bottle_plastic_empty”,ar_things_rope_old","ar_things_hook","ar_things_bottle_glass_empty","ar_scrap_assaultrifle","ar_scrap_submachinegub","ar_scrap_pistol","ar_scrap_rifle","ar_garbage_tatteredpaper","ar_clothes_bundle_small","ar_clothes_diverpack","ar_clothes_oldrubberboots","ar_clothes_olduniform","ar_clothes_oldleatherbag","ar_containers_machineparts","ToolKit"];  
    private _box1 = ["scraplo", "scraplo_1", "scraplo_2", "scraplo_3"];
    [SelectRandom _box1] addItemCargo [select Random scrap,1];

    or instead could I do it using thisList in a trigger area? Still causes same issue though
     


  3. We are basically creating a hive city life for Arma 3, it will be strict to the lore but work in Arma! We are working on a map right now, its coming together nicely, however there are some models we dont have that we desperately need! I dont want to share to much details now, but if anyone is interested in helping, that would be awesome! We may be willing to pay for services, but we are looking for some permanent members for the team as well! Please add me on discord -- Wiket#4599 or Email me @ King124kine@yahoo.com if you are interested in helping!


  4. Quote

    this addAction ["elevator down"], _pos = getPos elevator; 
     
    while {true} do { 
     
     if ((_pos select 2) < 20) then {
      
      _pos = getPos elevator; 
      elevator setPos [(_pos select 0), (_pos select 1), (_pos select 2) + 0.02]; 
       
     }; 
     
     sleep 0.05
      
    }; 
     

     

    Thats the script I am using but once the mission starts it says their is a generic error, and it just teleports the object up.

    Basically I want to be able to move an elevator up and down from two different points! Thanks for any help provided!

×