Jump to content

Liamsmith

Member
  • Content Count

    15
  • Joined

  • Last visited

  • Medals

Community Reputation

1 Neutral

About Liamsmith

  • Rank
    Private First Class
  1. Liamsmith

    Ear and holster script

    I`ve had a look but it still confuses me. I dont understand the variables. I dont get the _shift and _key code.
  2. Liamsmith

    Sleep & Vehicle Spawn

    When i spawn in vehicles 2 spawn instead of 1. The anitspam is perfect now.
  3. Liamsmith

    Sleep & Vehicle Spawn

    Yes, is there anyway to rework the script so you can only spawn a vehicle once every life time or anything just to stop spamming it.
  4. Liamsmith

    Ear and holster script

    Could you give me a bit more info. Sort of confused with it. Mainly with checking _shift and _key code and adding another if.
  5. Liamsmith

    Sleep & Vehicle Spawn

    is there any work around?
  6. Liamsmith

    Sleep & Vehicle Spawn

    Out of interest how could i pause the script so the vehicle is spam spawn and lags everyone out. Thanks
  7. Hi, so i`m making an script where you press a button,eg f2, to spawn an vehicle. I was looking for help as you can easily spam it and blow the vehicles up. Also, i`m going to have multiple vehicles that will be able spawn and so if one vehicle spawns give it a delay before a different one is. Would be great if you died you had no delay and could spawn in a vehicle straight away. Vehicle_Spawn.sqf 0 = [] spawn { waitUntil {!isNull(findDisplay 46)}; (findDisplay 46) displayAddEventHandler ["KeyDown", { if(_this select 1 == 0x3C) then { createVehicle ["O_MRAP_02_F",player getPos [15,getDir player], [], 0, "CAN_COLLIDE"]; }; }]; }; Something Like This For The End Result 0 = [] spawn { waitUntil {!isNull(findDisplay 46)}; (findDisplay 46) displayAddEventHandler ["KeyDown", { if(_this select 1 == 0x3C) then { createVehicle ["O_MRAP_02_F",player getPos [15,getDir player], [], 0, "CAN_COLLIDE"]; }; }]; }; 0 = [] spawn { waitUntil {!isNull(findDisplay 46)}; (findDisplay 46) displayAddEventHandler ["KeyDown", { if(_this select 1 == 0x3C) then { createVehicle ["O_MRAP_02_F",player getPos [15,getDir player], [], 0, "CAN_COLLIDE"]; }; }]; }; --------------------------- Update when i spawn in the ifrits 2 spawn so they blow up.
  8. Sorry for so many questions but i was wondering how i could alter the script below to have it so two buttons need to be pressed for the script to go on. Would be great if the buttons where shift h and just interested in learning more about scripting on arma 3. Thank you in advanced. [] spawn { waitUntil {!isNull(findDisplay 46)}; (findDisplay 46) displayAddEventHandler ["KeyDown", { if ((_this select 1 == 0x06)
  9. Liamsmith

    Ear and holster script

    Thank you however say if i wanted to have shift O to put in the ear phones. How would that be done?
  10. Hi i was wondering where i could find an holster and ear plug script for Eden editor. I tried to have a look around for one but i couldn't really find one that i would like. Sorry for asking so many questions new to scripting and mission file editing. For the ear plug script i would like it to be shift o to insert and remove the ear plugs. Something similar to this - https://pastebin.com/kYMtZ1MP For the holster i would like it so shift h or something similar would put your gun on your back and pull it out.
  11. Works now thank you.
  12. no error message. When i click nothing happens.
  13. Done it but it doesnt work.
  14. It works however when i place an AI by OG_Arms_1 to simulate and player being their and forcing to teleport some where else, nothing happens when i scroll wheel and click.
  15. I`m trying to create a mission file where you fight somewhere. You spawn in and choose your location to fight. You will be fighting with multiple players so i want it so there loads of markers and you spawn on one if their isn't a player with in 10m or something. However, i keep on getting this error message. I used this is in the character init - this addAction ["Teleport To OG Arms","OG_Arms.sqf"]; My Code - https://pastebin.com/KguSKuhf Error Message - https://gyazo.com/0ac25ca29f016f85cbd91812859db70d
×