Jump to content

Search the Community

Showing results for tags 'script'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • BOHEMIA INTERACTIVE
    • BOHEMIA INTERACTIVE - NEWS
    • BOHEMIA INTERACTIVE - JOBS
    • BOHEMIA INTERACTIVE - GENERAL
  • FEATURED GAMES
    • Arma Reforger
    • Vigor
    • DAYZ
    • ARMA 3
    • ARMA 2
    • YLANDS
  • MOBILE GAMES
    • ARMA MOBILE OPS
    • MINIDAYZ
    • ARMA TACTICS
    • ARMA 2 FIRING RANGE
  • BI MILITARY GAMES FORUMS
  • BOHEMIA INCUBATOR
    • PROJECT LUCIE
  • OTHER BOHEMIA GAMES
    • ARGO
    • TAKE ON MARS
    • TAKE ON HELICOPTERS
    • CARRIER COMMAND: GAEA MISSION
    • ARMA: ARMED ASSAULT / COMBAT OPERATIONS
    • ARMA: COLD WAR ASSAULT / OPERATION FLASHPOINT
    • IRON FRONT: LIBERATION 1944
    • BACK CATALOGUE
  • OFFTOPIC
    • OFFTOPIC
  • Die Hard OFP Lovers' Club's Topics
  • ArmA Toolmakers's Releases
  • ArmA Toolmakers's General
  • Japan in Arma's Topics
  • Arma 3 Photography Club's Discussions
  • The Order Of the Wolfs- Unit's Topics
  • 4th Infantry Brigade's Recruitment
  • 11th Marine Expeditionary Unit OFFICIAL | 11th MEU(SOC)'s 11th MEU(SOC) Recruitment Status - OPEN
  • Legion latina semper fi's New Server Legion latina next wick
  • Legion latina semper fi's https://www.facebook.com/groups/legionlatinasemperfidelis/
  • Legion latina semper fi's Server VPN LEGION LATINA SEMPER FI
  • Team Nederland's Welkom bij ons club
  • Team Nederland's Facebook
  • [H.S.O.] Hellenic Special Operations's Infos
  • BI Forum Ravage Club's Forum Topics
  • Exilemod (Unofficial)'s General Discussion
  • Exilemod (Unofficial)'s Scripts
  • Exilemod (Unofficial)'s Addons
  • Exilemod (Unofficial)'s Problems & Bugs
  • Exilemod (Unofficial)'s Exilemod Tweaks
  • Exilemod (Unofficial)'s Promotion
  • Exilemod (Unofficial)'s Maps - Mission Files
  • TKO's Weferlingen
  • TKO's Green Sea
  • TKO's Rules
  • TKO's Changelog
  • TKO's Help
  • TKO's What we Need
  • TKO's Cam Lao Nam
  • MSOF A3 Wasteland's Server Game Play Features
  • MSOF A3 Wasteland's Problems & Bugs
  • MSOF A3 Wasteland's Maps in Rotation
  • SOS GAMING's Server
  • SOS GAMING's News on Server
  • SOS GAMING's Regeln / Rules
  • SOS GAMING's Ghost-Town-Team
  • SOS GAMING's Steuerung / Keys
  • SOS GAMING's Div. Infos
  • SOS GAMING's Small Talk
  • NAMC's Topics
  • NTC's New Members
  • NTC's Enlisted Members
  • The STATE's Topics
  • CREATEANDGENERATION's Intoduction
  • CREATEANDGENERATION's HAVEN EMPIRE (NEW CREATORS COMMUNITY)
  • HavenEmpire Gaming community's HavenEmpire Gaming community
  • Polska_Rodzina's Polska_Rodzina-ARGO
  • Carrier command tips and tricks's Tips and tricks
  • Carrier command tips and tricks's Talk about carrier command
  • ItzChaos's Community's Socials
  • Photography club of Arma 3's Epic photos
  • Photography club of Arma 3's Team pics
  • Photography club of Arma 3's Vehicle pics
  • Photography club of Arma 3's Other
  • Spartan Gamers DayZ's Baneados del Servidor
  • Warriors Waging War's Vigor
  • Tales of the Republic's Republic News
  • Operazioni Arma Italia's CHI SIAMO
  • [GER] HUSKY-GAMING.CC / Roleplay at its best!'s Starte deine Reise noch heute!
  • empire brotherhood occult +2349082603448's empire money +2349082603448
  • NET88's Twitter

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Yahoo


Jabber (xmpp)


Skype


Biography


Twitter


Google+


Youtube


Vimeo


Xfire


Steam url id


Raptr


MySpace


Linkedin


Tumblr


Flickr


XBOX Live


PlayStation PSN


Origin


PlayFire


SoundCloud


Pinterest


Reddit


Twitch.Tv


Ustream.Tv


Duxter


Instagram


Location


Interests


Interests


Occupation

Found 660 results

  1. SCCLoot SCCLoot adds simple, configurable loot spawning to any Arma 3 mission. Got feedback/suggestions, or using this script in your mission? Get in touch! Features Completely open-source and redistributable. Easily editable loot tables and parameters. Building blacklist to stop specific structures from spawning loot. 5 default categories for loot (Civilian/Industrial/Military/Medical/Supermarket) with the ability to add your own. Customisable per-building loot-spawning positions. Want to make street lamps spawn loot? You can! Spawn loot in pre-placed containers and boxes. Supported Arma 3 Terrains (incl. Tanoa and Livonia) CUP Terrains Installation Place the 'SCCLoot' folder inside the root mission directory. Add the following line to your mission's init.sqf: [] execVM "SCCLoot\lootInit.sqf"; Configuration SCCLoot is designed to be highly customisable and configurable - there are several config files that can be edited to alter it's behaviour. More information can be found inside the README.TXT file. License This script is released under the BSD 2-Clause License. You are free to modify and redistribute it, provided you keep the original copyright notice. For more information, see LICENSE.TXT in the script directory. Download • GitHub
  2. so on my units server we are running a clean up script, due to the lack of mass graves and body piles withing arma we are trying to a manual mass grave but due to the clean up script it stops that from happening is there away to stop that script running on certain objects?
  3. Hey there, I'm trying to get an object to provide a whitelisted player with the option to purchase ammunition once in close proximity. So far, I've written the following into the object's init: if (getPlayerUID player in _UIDList) then { this addAction ["Buy STANAG mag $100","purchasestanag.sqf"]}; The mentioned _UIDList simply reads as follows under init.sqf: _UIDList=["76561198090900291"]; Is there something crucial I'm forgetting to include? I'm very fresh to coding, so do excuse my ignorance. Any pointers are much appreciated.
  4. Good day, I am currently at a dead end of the MP mission I am trying to create for my unit, solely with ALiVE modules, I don't really use any MCC features but just wanted to leave it loaded in case I need to create a scenario while the mission is running. I wanted to add specific vehicle cargo (custom loadout) in a medevac vehicle(RHS Asset), such as ace medical items. So our medics can replenish their inventory from the vehicle. I did this by adding this in the vehicle's init field: In addition I also added scripts on some vehicles and units init field to assign as ALiVE Combat Support so that ALiVE would work with VCOM accordingly, I followed this steps from ALiVE's FAQ site. I followed what's in the red box: But when I start the mission, the mission loads twice and respawns the vehicles rendering all the scripts I've put useless. I can't figure out how to stop the vehicles from respawning when the mission loads the second time or to have the script run at a specific time so it would execute once the mission finishes loading "Completely". Here's a 5 min. video to show what I am trying to do. https://youtu.be/3nxOfavKnBY TIA! PS: I don't know how to title this since I'm not exactly sure what's happening to name it properly. So my apologies if it's misleading.
  5. So I'm trying to test out the kbtell command to use dialogue in missions, but I've hit a wall. Everything appears to be working, I'm not getting any errors, but the first subtitles play, the sound doesn't, and nothing else happens. bikb file script file Is there something I'm doing wrong? Thanks in advance.
  6. I have rental dedi arma 3 server and i have INIDBI2 for save system on it. Right now there is a save game button in the game screen, but i want to get it on the pause menu save game button, the button is grey now. Button i have right now is scripted like this: "initplayerlocal.sqf" Player addAction ["<t color=`#38BAFF`>Save Game</t>", {[] call UN_savedata;}]; How can i script it in the onpause menu "save game" button? I find this link, but i don`t get it work
  7. I've been tinkering with values of a mod that my Milsim unit uses. With all the mods we have somewhere along the pipeline has overly increased and made more realistic A.I. in which they also have more health but the weapons we use our simulated extremely well. The problem is the mod we use for our mortar damage range just isn't realistic and a direct impact may kill a single person on a group of 20 with no armor on. I wrote a script similar to what I'm doing here but with RHS and updated the weapon damage values just by using CfgPatches and I'm trying to do the exact same thing here but they named their ammo with a "( )" in it. Which upon compiling the addon doesn't allow it to continue as it returns an error along the lines of [line 13 expected = received "("] does anyone know a workaround or how to get this to work properly? TL:DR - Can't update damage of an ammo type because the class name has a symbol in it that the addon builder assumes is apart of the code rather than just being apart of the name. VZ99 CfgAmmo.hpp My CfgPatches in a separate addon I'm creating giving me the error. (Only editing the HE and HE_Multi ammo) As far as I can determine the issue is that the class name having ( ) is the issue but I can't edit the original addon CfgAmmo due to their licensing. If anyone knows a solution I'm open to anything.
  8. Hi, I want to remove this GPS cross from the map which is showing while the player is in an aircraft. I want a map which is finally a map and not a GPS device named map.. How can I achieve that? In-game options? Script? Mod? Thanks
  9. Hey all, back here with a question. I am looking for a way to get access to some variables which have the same name with an increasing numerical suffix. I tried to do something like this but to no avail // Trying to get access to objects named (in the editor) obj0, obj1, obj2, obj3, etc. private _maxIdx = 4; // I get this from somewhere else but I define it here for completeness // Increase an index for[{private _i = _0}, {_i < _maxIdx}, {_i = _i + 1}] do { // Create the name of the variable private _var = "obj" + (str _i); // Parse the name of the variable as a string _var = call (compile _var); // Get the object variable // Get the position of the object _secPos set[_i, getPosATL _var]; // Get the position of the object placed in the sector // Delete the object placed at the sector objective deleteVehicle _var; }; This doesn't seem to work. The only evidence I have (haven't done the testing myself unfortunately) is that the objects (obj0, obj1, obj2, etc.) are not deleted in the editor. Any ideas or insights are most welcome :).
  10. Hello, community. Here is what I want to achieve: - I want to combine 3 different animations into one; - the player should be able to play these 3 animations sequentially; QUESTION 1: Should these animations be united as one and used all together in one script or QUESTION 2: Perhaps they could be used individually with a “wait until” command between them, so the script “should wait” until the first one is completed in order to perform the second one and when it is over, the third one will be played as well. ANIMATIONS: 1. The player waking up being wounded and then stands up after X seconds. 2. The player then looks around like in another script we already well know where he can set up a camp, sleep and then wake up in X hours. 3. The player then moves along an invisible way with his weapon in his right hand like in a cinematic intro. I have reworked this last animation’s content making it stop functioning when: player distance obj1 <X. This means I need to stop all these animations, when they are completed, with this part above, used in a trigger’s “On Activation” field. Animations: Nr. 1 - should be put in player’s init field: [this, "PRONE_INJURED"] call BIS_fnc_ambientAnim; 0 = this spawn {waitUntil {time > 10}; _this call BIS_fnc_ambientAnim__terminate; _this switchMove "AinjPpneMstpSnonWnonDnon_rolltofront";_this playMove "AmovPknlMstpSnonWnonDnon"}; Nr. 2 - should be activated by: player addAction ["<t color=""#F8FF24"">" +format["Set Up Camp"],"Camp_Script\spawn.sqf"]; Here you can find the files for this script: http://www.armaholic.com/page.php?id=28555 Nr. 3 - in a trigger or in playerinit.sqf: player disableAI "move";_nul = [] spawn {player switchMove "Acts_PercMwlkSlowWrflDf2";player disableAI "ANIM";waitUntil{(player distance target1) < 8};player switchMove "";}; [1, 60,true,true] call BIS_fnc_cinemaBorder; - target1 one is the object that the player needs to reach and when he does, the animation stops working. So, friends, how can we combine these 3 animations into one? Thank you in advance! Happy scripting and cheers!
  11. Guys I have this hold action set up to revive downed team mates. My issues are: 1) How can I reduce the completion time if the caller is a medic? 2) Can I cancel the holdAction with a hint if the caller has no FirstAidKits? (I want the hold action to show even if the caller does not have the firsAidKit, I just want the hold action to exit with a hint, would if ((({""FirstAidKit"" == _x} count (items _caller))<1)) exitWith {hint "You need a firstAidKit";} work inside the conditionProgress field? Thank you!
  12. Need a quick script to better randomize grenade explosion sound in my JSRS sound replacement mod. This should be straight forward and fairly easy to do if you have any scripting knowledge with the A3 Scripting Engine. Any help with this is greatly appreciated. Sound File Names: Close_Distance (1).ogg, Close_Distance (2).ogg, Close_Distance (3).ogg, Close_Distance (4).ogg, Close_Distance (5).ogg, Close_Distance (6).ogg, Close_Distance (7).ogg, Close_Distance (8).ogg, Close_Distance (9).ogg, Close_Distance (10).ogg You will get co-credit on my Steam Workshop page for this mod. You can check out the mod here: https://steamcommunity.com/sharedfiles/filedetails/?id=1290747231 Thx so much, swtx
  13. I want a unit to move in a vehicle after respawn but it shows that error code: 17:52:36 Error in expression <_wp = _unit addWaypoint [_pos1, 0];> 17:52:36 Error position: <_unit addWaypoint [_pos1, 0];> 17:52:36 Error Undefined variable in expression: _unit 17:52:36 Error in expression <_unit setWaypointType "MOVE";> 17:52:36 Error position: <_unit setWaypointType "MOVE";> 17:52:36 Error Undefined variable in expression: _unit 17:52:36 Error in expression <_unit setWaypointSpeed "Full";> 17:52:36 Error position: <_unit setWaypointSpeed "Full";> 17:52:36 Error Undefined variable in expression: _unit 17:52:36 Error in expression <_unit setWaypointBehaviour "Combat";> 17:52:36 Error position: <_unit setWaypointBehaviour "Combat";> 17:52:36 Error Undefined variable in expression: _unit 17:52:36 Error in expression <_unit setWaypointType "GETIN NEAREST";> 17:52:36 Error position: <_unit setWaypointType "GETIN NEAREST";> 17:52:36 Error Undefined variable in expression: _unit the script is activated with this in the unit's init:this addMPEventHandler ["MPRespawn", {[_unit] exec "respawnvehiclescript.sqf"}]; the script: _unit = _this select 0; _pos1 = getMarkerPos "Marker1"; _wp = _unit addWaypoint _pos1 _unit setWaypointType "MOVE"; _unit setWaypointSpeed "Full"; _unit setWaypointBehaviour "Combat"; _unit setWaypointType "GETIN NEAREST"; hint "%1 respawned!!!"
  14. I have got a script that works by calling it like this: guard = [op1] execVM "HousePatrol.sqf"; is there a way to call this script for multiple units at the same time so as not to write: guard = [op2] execVM "HousePatrol.sqf"; guard = [op3] execVM "HousePatrol.sqf"; ...
  15. Hi, I'm new to scripting so forgive me for what I'm asking. I'm trying to make a training mission for my clan. I need to randomly place four flags inside a given area defined by a marker, and these four flags have some constraints in terms of the position in which they can be placed. Here's a bit of the code: traguardo setPos ([["white"], []] call BIS_fnc_randomPos); blueflag setPos ([[[getPos traguardo, 4500]], [[getPos traguardo, 2500], "water"], _this inArea "white"] call BIS_fnc_randomPos); where "white" is the name of the above-stated marker. When I run the code, it returns me the error: |#|_this inArea "white" Error undefined variable in the expression: _this don't know why though. Thank you greatly for your help.
  16. Dear follow Arma addicts, can anyone point me towards a performance conscious script for: 1) Replacing all the non tracer ammunition from both player and ai with tracer ammunition, both at their weapons and inventories. 2) I believe tracer ammunition effects only happens when the magazine is almost empty. Is there any way to make every round have (or simulate) tracer effects? Basically I want to simulate old school battlefield games (BF2, BF3) were all rounds have tracer like effects that help players identify the origin and location that fire is coming from. (I need to up the feedback and gameplay friendliness of my mission while compromising some realism). Thank you in advanced!
  17. I am practicing building a CQB training ground. I would like to add some features. the present situation 1. Made me create a task. 2. AI will be summoned at the marker point when the trigger is executed. 3. Removing AI will complete the task. I'm going to do a mission like this. Recreate the task in the game and then go back to I want to make it possible for me to complete it again. In short, it's a rotation system. It's hard to get out of the game and log back in. I was troubled by a nuisance.
  18. I'm working on this event for a mission of mine where a ghost hawk flies into the AO, the player, and their squad board said ghost hawk, and the ghost hawk takes them out of the AO. I decided it would be best to use CaptureUnit for this, as the AI piloting can be unreliable at best. And because I wasn't sure how else to have it so that the player and squad would have a limited amount of time to board the helicopter, I decided I'd break the UnitCapture into two parts: Part one flying into the AO and landing, and Part two taking off and RTB. Part one works fine up until the moment the UnitPlay finishes, at that point the helicopter flies back up into the air and then lands again. And once the player and ai are in the helicopter it does lift off the ground, but then it just hovers, but it's giving me no indication that the script has any errors (and I'm very confident that it doesn't myself). Is there something I can do to fix this? Or should I go about getting the helicopter to pick up the player some other way?
  19. I have been searching for a solution to this for a few days, and finally decided to make a post. Is there a way to remove specific default actions from an object through scripting in ACE3? Or even disable to interact with a specific object at all? I would like to remove the ability to remove wheels and repair from a set of vehicles. Sorry if this is not the exact location to post this, but the ACE wiki does not seem to have anything on this, and I couldn't find an answer online.
  20. Hello! I'm very new to scripting in Arma, or any form of code in general. I"m struggling to get this script to work. My current goal is to throw a green smoke grenade and have a helicopter spawn, fly to the smoke grenade position, drop a supply crate, and fly away. Any help would be amazing! Original script credits go to Tym Cooper's video on helicopter positon to smoke grenades - "https://www.youtube.com/watch?v=e_hOKoOfqfw" and Soolie's supply drop script - "https://forums.bohemia.net/forums/topic/177299-customizable-supply-drop-release/" Arma tells me my error is in this line of code (around line 44) places "lxl" before select 0 _supplyWP2 = _supplyGrp addWaypoint [[(_dropPos select 0)+_supplyRandomLocX, (_dropPos select 1)+_supplyRandomLocY, _dropPos select 2], 2]; HERE is the full script //script start _shooter = _this Select 0; _ammotype = _this Select 4; _dropPos = getpos player nearestObject "SmokeShellBlue"; _supplyBoxFnc = "b_supplycrate_f"; _supplyCargoFnc = { _supplyBoxFnc addWeaponCargoGlobal ["hgun_Pistol_Signal_F",3]; _supplyBoxFnc addMagazineCargoGlobal ["6Rnd_RedSignal_F", 10]; _supplyBoxFnc addWeaponCargoGlobal ["hgun_Pistol_heavy_01_snds_F",3]; _supplyBoxFnc addMagazineCargoGlobal ["11Rnd_45ACP_Mag", 10]; _supplyBoxFnc addWeaponCargoGlobal ["srifle_GM6_LRPS_F",3]; _supplyBoxFnc addMagazineCargoGlobal ["5Rnd_127x108_APDS_Mag", 10]; _supplyBoxFnc addItemCargoGlobal ["V_PlateCarrierGL_rgr", 10]; _supplyBoxFnc addItemCargoGlobal ["U_I_GhillieSuit", 10]; _supplyBoxFnc addBackpackCargoGlobal ["B_AssaultPack_ocamo", 10]; }; //hint format["%1",_ammotype]; sleep 2; switch (_ammotype) do { case "SmokeShellBlue": //add script below { //_supplyLocArray = [+1000,-1375,-1500,-1125,+1250,-1000,+1375,-1250,+1500,+1125]; _supplyLocArray = [+100,-100]; _supplyRandomLocX = _supplyLocArray select floor random count _supplyLocArray; _supplyRandomLocY = _supplyLocArray select floor random count _supplyLocArray; _supply = [[( _player select 0)+_supplyRandomLocX, ( _player select 1)+_supplyRandomLocY, ( _player select 2)+50], 180, "I_Heli_Transport_02_F", WEST] call bis_fnc_spawnvehicle; _supplyHeli = _supply select 0; _supplyHeliPos = getPos _supplyHeli; _supplyMrkrHeli = createMarker ["supplyMrkrHeli", _supplyHeliPos]; _supplyCrew = _supply select 1; _supplyGrp = _supply select 2; _supplyGrp setSpeedMode "FULL"; _supplyGrp setBehaviour "CARELESS"; _supplyWP1 =_supplyGrp addWaypoint [(_dropPos),1]; _supplyWP1 setWaypointType "MOVE"; _supplyWP2 = _supplyGrp addWaypoint [[(_dropPos select 0)+_supplyRandomLocX, (_dropPos select 1)+_supplyRandomLocY, _dropPos select 2], 2]; _supplyMrkrLZ = createMarker ["supplyMrkrLZ", _dropPos]; "supplyMrkrLZ" setMarkerType "Empty"; "supplyMrkrHeli" setMarkerType "Empty"; _supplyHeli flyInHeight 150; hint "The supplies are on the way"; _supplyMrkrHeliPos = getMarkerPos "supplyMrkrHeli"; _supplyMrkrHeliPos2 = [_supplyMrkrHeliPos select 0, _supplyMrkrHeliPos select 1, (_supplyMrkrHeliPos select 2)+50]; _supplyHeli = _supplyMrkrHeliPos2 nearestObject "I_Heli_Transport_02_F"; _supplyMrkrLZPos = getMarkerPos "supplyMrkrLZ"; _supplyLZ = createVehicle ["Land_Laptop_device_F", getMarkerPos "supplyMrkrLZ", [], 0, "NONE"]; deleteMarker "supplyMrkrHeli"; deleteMarker "supplyMrkrLZ"; _supplyLZ hideObject true; waitUntil {( _supplyLZ distance _supplyHeli)<400}; _supplyHeli animateDoor ["CargoRamp_Open",1]; waitUntil {( _supplyLZ distance _supplyHeli)<200}; sleep 2; _supplyHeli allowDammage false; _supplyBox = createVehicle [_supplyBoxFnc, position _supplyHeli, [], 0, "CAN_COLLIDE"]; clearBackpackCargoGlobal _supplyBox; clearWeaponCargoGlobal _supplyBox; clearMagazineCargoGlobal _supplyBox; clearItemCargoGlobal _supplyBox; _supplyBox disableCollisionWith _supplyHeli; _supplyHeli disableCollisionWith _supplyBox; _supplyBox allowDammage false; _supplyBox attachTo [_supplyHeli, [0, 0, 0], "CargoRamp"]; _supplyBox setDir ([_supplyBox, _supplyHeli] call BIS_fnc_dirTo); detach _supplyBox; deleteVehicle _supplyLZ; //concerned area [_supplyBox,_supplyCargoFnc,nil,true] call BIS_fnc_MP; [_supplyBox,"FncSupplyLight",nil,true] call BIS_fnc_MP; //concerned area _supplyChute = createVehicle ["B_parachute_02_F", position _supplyBox, [], 0, "CAN_COLLIDE"]; _supplyBox attachTo [_supplyChute,[0,0,-0.5]]; _supplyChute hideObject true; _supplyChute setPos getPos _supplyBox; _supplyLight = "Chemlight_green" createVehicle (position _supplyBox); _supplyLight attachTo [_supplyBox, [0,0,0]]; sleep 1; hint "The supplies have been dropped"; _supplyChute hideObject false; _supplyHeli allowDammage true; _supplyBox allowDammage true; _supplyHeli animateDoor ["CargoRamp_Open",0]; //:::::::::::|SMOKE|::::::::::: _supplySmoke = "SmokeShell" createVehicle (position _supplyBox); _supplySmoke attachTo [_supplyBox, [0,0,0]]; //::::::::::::::::::::::::::::: waitUntil {(getPos _supplyBox select 2)<2}; detach _supplyBox; _supplyChute setPos [ (getPos _supplyChute select 0)+0.75, getPos _supplyChute select 1, getPos _supplyChute select 2]; hint ""; sleep 5; {deleteVehicle _x;}forEach crew _supplyHeli;deleteVehicle _supplyHeli; }; case "1Rnd_SmokeGreen_Grenade_shell": { Hint "Green SmokeShell Detected"; }; case "FlareGreen_F": { Hint "Green Flare Detected"; }; case "3Rnd_SmokeGreen_Grenade_shell": { Hint "Green SmokeShell Detected"; }; case "UGL_FlareGreen_F": { Hint "Green Flare Detected"; }; case "3Rnd_UGL_FlareGreen_F": { Hint "Green Flare Detected"; }; }; //script end used for players unit init player addEventHandler ["fired",{_this execvm "supply_smoke.sqf"}]
  21. I'm looking to see if it is possible to lock stand-alone doors so that only certain player IDs can open them. And if so, can it be done through a script in the mission folder so that IDs can be added without having to open the mission file in Arma every time I'd like to change the list?
  22. Hi everyone, Need help with this script. I create a marker who spawn on tanks placed in Zeus on the map call T1, T2 etc... This marker could be dynamic. I mean its move with the tanks and show on the map, with a bliking effect only when the player will be at a defined distance. So I try this, but the marker don't move with the tank. I try to use setPos getPos player, to attach markers to tanks but nothing. The Marker will be create correctly, could see on the map, but didn't move with de tank... _tank = ["T1", "T2", "T3", "T4", "T5"]; while {((!alive _tank) && (player distance _tank < 1000))} do { (_marker1 = createMarker ["mark1", _tank]; _marker1 setMarkerShape "Ellypse"; _marker1 setMarkersize [500, 500]; _marker1 setMarkerColor "ColorRed"; mark1 attachTo [_tank]; ["mark1", 3, 50] spawn BIS_fnc_blinkMarker; }; Somebody could help me?
  23. Hello everyone and happy new year! I wish you all the best! I am working on a mission where the player takes part in an invasion on an island and must disembark wtih his squad on the beach. There will be some locals and civilians around and I need to make them run away in fear and afraid of the invaders, when the soldiers are spotted by the civilians. So this should be used as a condition. But I know there are some commands that work for the entire class or type, just like the markers. I use such a script that hides all the markers on the start of the mission and makes them visible when a condition is met. It works for all of them, so I need a script that would include all of the local civilians walking around the island. I intend to add a voice file and a text with their screams of fear or something like that inside the trigger, if this script works from a trigger and it will be repeatable. So, would you help me with this? I'd even appreciate a single script that works with one civilian only and simply add it to every one of them I place in the editor. Thank you in advance! 🙂
  24. I've just begun modding in Arma 3, after someone approached me and asked me to help him with modding in a beret that didn't exist anywhere on the workshop yet, I did everything as he asked me to and followed closely Arma 3's limitations (10k triangles at most, no smooth shading, all triangles, taken from https://community.bistudio.com/wiki/Arma_3_Modding_Characters). I used Blender to model the beret and managed to export it into a P3D file, then I exported its texture in a PAA file, then I created its icon and saved it as a PAA file, too. The problems began with the config file. I used a tutorial for a steel tube (https://www.youtube.com/watch?v=hxiwU94zwjg&) first, and actually spawned it in the game, it appeared in my inventory, but it didn't exist once I dropped it onto the ground, I thought that's just because I didn't add a line to the config, I don't think it's important so I ignored it Then I found an actual config file for a headgear (from https://community.bistudio.com/wiki/Arma_3_Characters_And_Gear_Encoding_Guide#Headgear_configuration) and I thought if I just changed up some things it'd work good enough. After I was done modifying that config file and got the mod working the game wouldn't let me spawn the beret in. I didn't get any debug messages, nothing. The beret just wouldn't spawn in my inventory, as if it didn't exist in the first place. Now I know this is a long post, but I feel like I needed explained my whole "adventure", so that maybe someone gets an idea of what the problem might be. Here's the mod file if you want to check it out https://github.com/Kalimedes/Mod
  25. when I use "BIS_fnc_playVideo" the sound of the video remains the same but the game skips the black screens of the video, Any solution??
×