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
  • DayZ Italia's Lista Server
  • DayZ Italia's Forum Generale

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 657 results

  1. Hello there, as the title already states my script is missing a semicolon but my 2 friends couldn't figure out where it was missing and neither could I. The following is the code: run = true; task_1 = player createSimpleTask ["Kill Bob"]; task_1 setSimpleTaskDescription ["Kill Bob that stupid prick","Kill Bob"]; task_1 setSimpleTaskDestination (getPos bob); task_1 setSimpleTaskType "attack"; player setCurrentTask task_1; while (run){ if (alive bob) then{ hint "Bob is dead"; task_1 setTaskState "Succeeded"; run = false; }; }; The error says it missing in the same line in which I start my while loop. Quick sidenote this script is just something I created to learn to script for missions. I also have another question because I want to be able to execute this script from my main script how do I do that because I couldn't get execVM to work and how can I check within the main script wether task_1 is finished and then start task_2? Thanks for your help Cheers, Nope.X
  2. Hello, I am trying to figure out how to keep an AI controlled SUV to sit still until a specific AI unit enters that vehicle. So far I haven't gotten it to work, nor could I find anything to help online with something this specific. Hopefully someone has the solution. Thanks
  3. Hello, I have made a mission using a script made by an Armaholic profile called ESO. It simply spawns units when Player/Player's(MP) are in its desired distance. BUT. I wunder if it is somehow possible to make the Players that are in Plane or Helicopter not be able to activate ESO script. Other words that they can fly inside a marker with ESO without any units spawning. Could any1 help me out on this? Would be really helpfull! 🙂 Regards Sorry for bad English.
  4. - - - - - - - - - - - - - - - - - - - - - - - - - EDIT: Solution here. - - - - - - - - - - - - - - - - - - - - - - - - - Hi all, I've been spending a while trying to figure out the proper method to attach a vest to a dog and correctly move it with the animations. Creation of dog and initial AttachTo are working fine, but I'm having trouble matching the direction of the vest to the dog's position. This is what I have been trying to work with so far, but it does not match correctly: _dog = dogDmy; _vest = "Vest_V_HarnessO_gry" createVehicle [0,0,0]; _vest attachTo [_dog,[0,-0.4,-0.54],"spine2"]; _n=[_dog,_vest] spawn { _dog = _this select 0; _vest = _this select 1; while {_vest in (attachedObjects _dog)} do { _vest setVectorDirAndUp [(_dog selectionPosition "spine2") vectorFromTo (_dog selectionPosition "hips"),[0.01,0.01,-0.99]]; sleep .1; }; }; There are similarities between this and a couple other scripts people have written, but they don't seem to work entirely for a dog. https://forums.bohemia.net/forums/topic/189737-attachto-trying-to-attch-a-lamp-on-torret/ http://killzonekid.com/arma-scripting-tutorials-uav-r2t-and-pip/ At the minute I am using While instead of a Draw3D or EachFrame EH to avoid unnecessary use of resources. Dog creation for testing: Thank you in advance!
  5. Hello guys, I'm experimenting with creating a simple driveable helicopter carrier that also works with AI-controlled helicopters. The carriers is a simple ship with a large cargoBayDimension specified in the carrier class, and the AI helicopters don't have any problem loading itself into the carrier, but once it's loaded, it will never turn off its engine as engineOn command doesn't seem to work on attached vehicles nor vehicles loaded on transport vehicle. What I had in mind was to create a script that instantaneously turns off the engine and sets the rotor speed to zero right before the helicopter is loaded into the carrier. I have tried using setWantedRPMRTD AI_chopper setWantedRPMRTD [0, 0, -1] and setEngineRPMRTD AI_chopper setEngineRPMRTD [0, -1] to no avail. It seems that most engine-related RTD commands only work on player vehicles and only when the advanced flight model is enabled, and some are only available to take-on helicopters. Any ideas what command or possible workarounds I could use? I did try putting the exit points of the cargo bay just barely above the carrier deck, and since I do have the WMO mod loaded, the AI choppers can be unloaded onto the deck and somewhat safely spool up before flying off, but this doesn't work for spooling down after landing, and since WMO is a bit wonky, I'd like to not rely on it as well if possible.
  6. Hello! I get straigt to the point: I am creating a mission in 3Eden and I have stumbled on an holdback. I have used the ALIVE modules to make civilians spawn on the map. (Standard ALIVE Civilian spawn) And if I use Allow interact in the module "Civilian Population" We can interact with them in-game to detain, tell go away and so on... But I wish to have this on the ACE interaction menu instead. How do I make this? I belive this is done tru scripting. Regards!!!
  7. 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!
  8. Hey all, I have been messing around with lineIntersectsSurfaces command in order to check for visibility between two units. I can't really say I had problems making it work, but even after having a look at both LOD's and command's Wikis I can't really say I have understood what LODs are exactly and how they can be utilized in various different scenarios. For example, what will the difference be if I call lineIntersectsSurfaces with "VIEW" and "FIRE" (which are the default) as LOD1 and LOD2 respectively or with "GEOM" and "VIEW" for LODs? I understand that this may (or may not) be quite a long subject to cover in just a forum post, so any additional information is most welcome (whether a link to a text, a short or long explanation, etc.). Best to all and thanks in advance, Achilles.
  9. vSuppress Script by Valmont and George Floros is the first script based Audio-Visual Suppression effects for Arma 3. vSuppress Main Features: - Easily add Suppression effects to your missions. These audio visual effects will trigger on players when Ai Units' bullets land or pass near them simulating the "Fear Effect" of being shot, the anxiety caused by being pinned down or just general combat stress. - Fully Multiplayer Compatible! - Extremely lightweight. The script was conceived with performance in mind and on testings with 60+ Ai units shooting at a single player resulted in a meagerly 2 FPS negative impact. - The Suppression effects are purely cosmetic and will not cause any other effects on players such as decreased stamina, stats etc. - The sounds and the visual effects can be easily tweaked and disabled inside the script. - Players cannot suppress other players, only Ai Units who have the script/EH running will be able to suppress players. - The suppression effects are quite minimalist and fast in nature to keep Arma 3's gameplay unchanged while adding an additional layer of immersion to the game. Requirements: Usage: vSuppress version 1.1 DEMO MISSION DOWNLOAD LINK: https://drive.google.com/open?id=1NLZx5lH_G5p6ubcK73xvwwgYVqCWpdvL Notes:
  10. Hi there. So I've been trying to make a script that drops an object on a players head. I need it to be able to work even if the player is standing in a building. The two commands that are supposed to disable collisions are `enableSimulation false` and `disableCollisionsWith`. `disableCollisionsWith` would be harder to implement considering it would have to detect any possible map and mission placed object. And, unfortunately, even though I set Enable Simulation to false for the dropped object, if I am standing under a roof or another object, the obstructing object is destroyed (sometimes exploding) when the falling object lands. player switchMove "HubSpectator_stand"; _unit = player; [] spawn { _cTime = time; _pos = position player; _typeObj = selectRandom ["Land_FieldToilet_F","Land_ToiletBox_F"]; _fallObj = createVehicle [_typeObj, [_pos select 0,_pos select 1,(_pos select 2) + 10], [], 0, "CAN_COLLIDE"]; _fallObj enableSimulationGlobal false; _fallObj allowDamage false; while {(getPosATL _fallObj) select 2 > 0.01} do { sleep 0.01; _fallObj setPosATL [_pos select 0,_pos select 1,((getPosATL _fallObj) select 2) - 0.2]; if (time - _cTime == 5) exitWith {}; }; sleep 5; deleteVehicle _fallObj; }; sleep 1; player setDamage 1.5; player switchMove ""; sleep 5; hideBody _unit; I have tried the non-global `enableSimulation`, as well as `while {!simulationEnabled _fallObj} do` loops. Anyone have any idea how to go about this?
  11. Hey all, I am (still :D) trying to create a medical training framework for a unit playing a persistent mission. All is going (quite) good so far and now I am stuck with an issue. The unit uses players to practice medical and some of them die in the process. They have a respawn time (I think is somewhere around to 1 minute, but this is irrelevant) to discourage ramboing. So, the goal is to find a way to respawn instantly (override the normal respawn time) those who didn't make it through the medical practice of their fellow aspirant medics and then move them back to the medical training facility where they died. I believe the second part to be quite easy. Probably with just a setPos (although this may not be the case if I don't have access to the unit object). So, at the moment I am stuck as to how I can instantly repsawn units (but not all units, just specific ones). I have looked at the BI's respawn functions, but there are no examples and the wiki/docs seem to be completely deserted. I did try to use BIS_fnc_respawnInstant but seems that it does NOT do what I want it to do. After quite some time searching I was unable to find something (or was unable to recognize it) that would help me accomplish my task. Any insight, ideas or suggestions would be most welcome. Thanks in advance, Achilles.
  12. Hello there to Everyone , i'm trying to create a dynamic Simulation scrpt , but to be honest , i don't know really if the current is working or not ! I 'm not also sure about dynamicSimulationSystem generally , because i haven't seen this working on another script either ! My try below for everyone : - deleted any help will be much appreciated ! Thank you very much !!! _______________________________________________________________________________________________________________ the solution :
  13. Hey all, I am facing a problem where I am trying to create units and inflict some damage on them with ACE. It works quite OK, but the only thing is that there is no bleeding happening. They start with normal vitals (which is not the main problem at the moment) and they stay like that despite their injuries (some are quite severe). I made a bit of a search on how I can use ACE to inflict damage on units and I ended up using "ace_medical_fnc_addDamageToUnit" helper function (see below the script). As I said it works fine but after the damage is done no other effects are inflicted on the unit (pain, bleeding, etc.). Any thoughts would be extremely welcome. /* * _damage is the damage to be inflicted <NUMBER> * _maxDamage is a number I use to adjust the maximum possible damage <NUMBER> * _bodyParts is an array containing the possible body parts to be damaged <STRING> * _woundTypes is an array with the possible wound types to be inflicted <STRING> * _woundedSoldier is the object (unit) that will receive the damage <OBJECT> */ _damage = random _maxDamage; // Maximum possible damage is _maxDamage + 0.05 _damage = _damage + 0.05; // Add a small number to make sure damage is inflicted _bodyPart = selectRandom _bodyParts; // Select random body part _woundType = selectRandom _woundTypes; // Select random wound type [_woundedSoldier, _damage, _bodyPart, _woundType] call ace_medical_fnc_addDamageToUnit; // Inflict the wound Thanks in advance, Achilles.
  14. Hi all, I've made a script to check the visibility of positions on the map. An example mission is here I hope I've done this right. 1 min Video And the code is here for those interested. /* CheckVisibility.sqf Author: Atmo Date: April 2019 Version: 1.0 Params : None Description: Checks the visibility of a 2000m square around the position left clicked on in the map. It checks a position 2m off the ground to the test position. Checks 30m squares - could change the size if you want but it could get intensive... Running script toggles activation of the eventHandlers so running once turns it on, running it again stops it. Use: single left click (Default mode): - shows non-visible areas as red pressing 'alt' and left clicking: - shows visible areas in green. Some examples: 1) From an action in an players init this addAction ["Check Visibility", "fn_CheckVisibility.sqf"]; 2) compile the function from the description.ext and then call it - I'll let you do that. */ if (!hasInterface) exitWith {["fn_CheckVisibility only runs on client"] call BIS_fnc_error}; // Every time script runs toggle eventHandlers private _EHs = missionNamespace getVariable [format["BIS_stackedEventHandlers_%1", "onMapSingleClick"], []]; if (_EHs findIf {(_x select 0) isEqualTo "Atmo_CV_EH"} == -1) then { ["Atmo_CV_EH", "onMapSingleClick", { // _pos, _shift, _alt are parameters of onMapSingleClick EH private _positions = []; // Array of positions tested private _size = 30; // Size of squares (if you change this also change _size in Draw EH) // Set the drawing method for the ctrlEventHandler missionNamespace setVariable ["Atmo_CV_mode", _alt]; // Convert _pos to ASL + 2m private _origin = (ATLToASL _pos) vectorAdd [0,0, 2]; for "_i" from -1000 to 1000 step _size do { for "_j" from -1000 to 1000 step _size do { _testPos = ATLToASL (_pos VectorAdd [_i, _j, 2]); _visibility = 0; // Cast a line to the point _intersectPos = lineIntersectsSurfaces [_origin, _testpos, player, objNull, true, 1, "VIEW", "FIRE"] select 0 select 0; if (isNil "_intersectPos") then { // It didn't intersect anything = it is visible _visibility = 1; } else { // The line hit something - is thing it hit in the area we are testing? if (_intersectPos inArea [_testPos, _size, _size, 0, true, -1]) then {_visibility = 1}; }; if (_alt) then { if (_visibility == 1) then { _positions append [_testPos]; }; } else { if (_visibility == 0) then { _positions append [_testPos]; }; }; }; }; missionNamespace setVariable ["Atmo_CV_Positions", _positions]; }] call BIS_fnc_addStackedEventHandler; // Add draw EventHandler to the map display - Oooo, er, should I use displayAddEventHandler? private _map = findDisplay 12 displayCtrl 51; private _id = _map ctrlAddEventHandler ["Draw", { params ["_control"]; // Get the mode of drawing - false: 'alt' wasn't pressed show not visible in red, true: show visible in green private _mode = missionNamespace getVariable ["Atmo_CV_mode", false]; private _rgba = [[0.5,0,0,0.8], [0,0.5,0,0.8]] select _mode; private _positions = missionNamespace getVariable ["Atmo_CV_Positions", []]; private _size = 15; { _control drawRectangle [_x, _size, _size, 0, _rgba, "#(rgb,1,1,1)color(1,1,1,1)"] ; } forEach _positions; private _pos = missionNamespace getVariable ["Atmo_CV_cursorPos", [0,0]]; _control drawIcon ["#(rgb,1,1,1)color(1,1,1,1)", [0,0,1,1], _pos, 0, 0, 0, "Check Visibility (click +/- alt)"]; }]; // Save the EH id missionNamespace setVariable ["Atmo_CV_DrawEHid", _id]; _id = _map ctrlAddEventHandler ["MouseMoving", { params ["_control", "_xPos", "_yPos", "_mouseOver"]; _pos = _control posScreenToWorld [_xPos + 0.1, _yPos - 0.1]; missionNamespace setVariable ["Atmo_CV_cursorPos", _pos]; }]; // Save the EH id missionNamespace setVariable ["Atmo_CV_MouseMoveEHid", _id]; } else { // The event handler is already there - delete them all //remove onMapSingleClick private _removed = ["Atmo_CV_EH", "onMapSingleClick"] call BIS_fnc_removeStackedEventHandler; // remove Draw eventHandler on the map private _map = findDisplay 12 displayCtrl 51; _map ctrlRemoveEventHandler ["Draw", missionNamespace getVariable "Atmo_CV_DrawEHid"]; _map ctrlRemoveEventHandler ["MouseMoving", missionNamespace getVariable "Atmo_CV_MouseMoveEHid"]; missionNamespace setVariable ["Atmo_CV_Positions", []]; }; (Nice) Comments appreciated - scripters let me know if you see any glaring errors! Atmo
  15. Hello awesome BI community! This is the first time I'm posting an issue here so any help would be much appreciated, and thank you in advance for the use of your time. 🙂 END GOAL: helicopter spawns (via triggers listening to boolean variable in game) helicopter goes to object (defined in script) helicopter goes to player (defined in script) helicopter returns to base helicopter disappears (via triggers listening to boolean variable in game) and: the addAction has an initial menu that just states "SUPPORTS" then upon selecting deletes that action and adds a subset of supports for the player to use. INTENTION: What I'm trying to do is have ONE .sqf script and pass variables to that script via execVM from a trigger in game. I have created this script using 3 .sqf script files using public and predefined variables in game, and it works. But I want this to work more like a function than a script. So this is my first script which uses private variables. I would like this to remain as ONE .sqf so I can copy this to a new mission and create/define the objects/groups in the game, then pass those using execVM. PROBLEM: Everything works, except addAction transfers the code to a scheduled task and the private variables are undefined there, at least that's how I understand it. CODE THAT WORKS WITH PUBLIC VARIABLES: CODE IM TRYING TO GET WORKING WITH PRIVATE VARIABELS: HOW I'M CALLING THE CODE: *EDIT In the game it errors at: slingloadmain = _player addAction [ "SUPPORTS", { _player removeaction slingloadmain; _activate = false; Is this even possible?
  16. You know the vehicles I'm talking about - the HEMTT ammo / fuel / repair truck, the Huron containers, Taru pods, Zamaks, etc... you drive up to it and it just automatically repairs / refuels or rearms you, as is the case. I've searched high and low through the functions and config files, and I can't find the scripting that is making this effect happen. Does anyone know what it is, or where it can be found? Please don't answer with references to your own or other's Rearm / Refuel / Repair scripts, I have a ton of those but that's not what I'm asking - thank you! Why am I looking for this, specifically? 1. Vehicle rearming, with turrets and especially with dynamic loadouts, is especially problematic. I challenge you to reload 13 out of 19 rockets, exactly, on a rocket pod that's not on the vanilla configuration of a dynamic loadout aircraft. The vehicle rearm script on the Huron pod just works, it an cosmetically appealing way: the numbers just increase while you're next to the rearming source, until you're fully reloaded, and it doesn't seem to care whether it's a vanilla loadout or a dynamic one, whether the turret is local or not, etc. 2. There's no way to adjust the "flow rate" of vehicle rearming, repairs, or refueling. 3. The effect itself is capricious. Sometimes it works as intended (drive up to the box/ car/ whatever) and the vehicle resupplies as intended. Sometimes it doesn't, but it provides you with an action (complete with a lovely icon) to perform it. And sometimes it doesn't work at all. Thank you in advance! Ryko
  17. Hi, I need a help guys, can someone make me a simple script, where the enemy on the map chases the player wherever he moves? I tried some but I did not do anything, I have not been doing anything wrong, could you help me with this please?
  18. Hello. I am very new to coding. I need a code/script to make enemies know where all the player location are and follow them (they do it automatically anyway?) Basically i need to make the AI know the location of all player and hunt them down, even if they where spawned in via script or already ingame. preferably in a loop maybe? so they get updated, i donno every 30 seconds? or more. Im very new and bad at coding, i tried reading up on it. but i failed. i tried google it, but to be real, i dont really know what to look for. Thanks. This is the last part of my mission to get it fully functional.
  19. Hi, I'm creating a mission parameter that deletes all pre-placed props (under Empty) in case our Zeus wants to change our spawns occasionally. So far this is what I have in the script: What would I need to set as _objects to detect props? And will it detect and remove objects I've checked "Simple Object" on as well (if so that would be great)? I would like to be able to set a variable on objects in the editor to exclude them from this as well. Any help is appreciated, thanks! Edit: working code
  20. GF Earthquakes Script - Mod by GEORGE FLOROS [GR] Description: Spawn Random Earthquakes, 10 Random type, from small to large, with Building destruction, to spice it a little bit.You are free to do anything but i would like to give me Credits for this! Simple and easy to use and adapt . Have Fun ! Installation / Usage: For usage instructions and information of how to use the GF Earthquake Script , please refer to the included documentation and/or example mission. https://community.bistudio.com/wiki/SQF_syntax Don't try to open this with the simple notepad. For everything that is with comment // in front or between /* means that it is disabled , so there is no need to delete the extra lines. You can open this ex: with notepad++ https://notepad-plus-plus.org/ and also use the extra pluggins (this way will be better , it will give also some certain colours to be able to detect ex. problems ) http://www.armaholic.com/page.php?id=8680 or use any other program for editing . For the Compilation List of my GF Scripts , you can search in: https://forums.bohemia.net/forums/topic/215850-compilation-list-of-my-gf-scripts/ Notes: Configurable Script. You can change the time , by changing : // How much time to wait for the next earthquake sleep (600 + random 2700); // 600 sec ( 10 minutes ) + random 2700 ( 45 minutes ) Credits & Thanks: Thanks to All script contributors Thanks to everyone who tries to do the best for this game! Thanks to BIS for such a great platform . Thanks to BIS Community and BIS Community Forums . Thanks to Armaholic Community and Forums . Changelog: v3.0 Included a mod version. Added a distance check and blacklist zones. Added more options. v2.0 Code optimization, added 5 more different type of earthquakes, added some options and small additions inside the scripts , changed the name of all the scripts , starting now with GF . v1.0 Forum topic: - BI forums https://forums.bistudio.com/forums/topic/212274-earthquakes_gf-script/ - Armaholic forums http://www.armaholic.com/forums.php?m=posts&q=39687&n=last#bottom Armaholic GF Earthquakes Script - Mod
  21. GF Auto Random Loadout Script - Mod by GEORGE FLOROS [GR] Description: GF Auto Random Loadout Script , it will detect the enabled Mods , without editing lists. You are free to do anything but i would like to give me Credits for this! Simple and easy to use and adapt . Have Fun ! Installation / Usage: For usage instructions and information of how to use the GF Auto Random Loadout Script please refer to the included documentation and/or example mission. Place in your mission the files . There is everything included , in the initServer.sqf , to copy paste in your mission. https://community.bistudio.com/wiki/SQF_syntax Don't try to open this with the simple notepad. For everything that is with comment // in front or between /* means that it is disabled , so there is no need to delete the extra lines. You can open this ex: with notepad++ https://notepad-plus-plus.org/ and also use the extra pluggins (this way will be better , it will give also some certain colors to be able to detect ex. problems ) http://www.armaholic.com/page.php?id=8680 or use any other program for editing . For the Compilation List of my GF Scripts , you can search in: https://forums.bohemia.net/forums/topic/215850-compilation-list-of-my-gf-scripts/ Notes: It will detect the enabled Mods , without editing lists. There are 3 options available : 1 = Load every Mod + Bohemia items , 2 = Load every Mod - No Bohemia items , 3 = Load Bohemia items Only There is an exclude list available or add in the init of a unit: this setVariable ["Var_GF_ARL", true]; Extended options about the loadouts , are available. It is also included a mod version , posible to unpack and edit. Credits and Thanks to : Thanks to All script contributors Thanks to everyone who tries to do the best for this game! Thanks to BIS for such a great platform . Thanks to BIS Community and BIS Community Forums . Thanks to Armaholic Community and Forums . Changelog: v1.1 Added Custom items array. Minor fixes. v1.0 Forum topic: - Armaholic forums http://www.armaholic.com/forums.php?m=posts&q=40307 Armaholic GF Auto Random Loadout Script - Mod
  22. I know that this has been asked before and I have tried everything that I found. My problem is that I'm not using waypoints, I'm using the unitplay for my flight path. I don't want to use a radio activation. I want to use the Condition field of a trigger or task. This is the code I have in Condition. {_x in H1} count (units group player) == {alive _x} count (units group player); This works when testing in editor both in SP & MP, but does not work on the dedicated server. What happens is the takeoff without waiting to be loaded. I have also tried.... if (isServer) then { {_x in H1} count (units group player) == {alive _x} count (units group player); }; When using the (isServer) they don't take off but when I get on the chopper it does not activate. Let me also add that I"m using two choppers and need to wait till both choppers are loaded before they can takeoff. For this I have a trigger for each chopper with the above code. Then I have another trigger with this code in the Condition... triggerActivated H1Loaded && triggerActivated H2Loaded && triggerActivated EngineStart; The EngineStart trigger is activated as the players move to the chopper. I then have two more triggers for the sqf's that have the flight path info. Again this all works in SP & MP it the editor but DOES NOT work on the dedicated server. Any help would be great, thanks in advance.
  23. GF Earplugs Script - Mod by GEORGE FLOROS [GR] With key interaction Description: GF Earplugs Script , mute or lower sound , with a key interaction , configurable key bindings. You are free to do anything but i would like to give me Credits for this! Simple and easy to use and adapt . Have Fun ! Installation / Usage: For usage instructions and information of how to use the GF Earplugs Script , please refer to the included documentation and/or example mission. Place in your mission the files . There is everything included , in the init.sqf , to copy paste in your mission . https://community.bistudio.com/wiki/SQF_syntax Don't try to open this with the simple notepad. For everything that is with comment // in front or between /* means that it is disabled , so there is no need to delete the extra lines. You can open this ex: with notepad++ https://notepad-plus-plus.org/ and also use the extra pluggins (this way will be better , it will give also some certain colours to be able to detect ex. problems ) http://www.armaholic.com/page.php?id=8680 or use any other program for editing . For the Compilation List of my GF Scripts , you can search in: https://forums.bohemia.net/forums/topic/215850-compilation-list-of-my-gf-scripts/ Notes: Configurable key bindings and notification available. The key bindings can be found here: https://community.bistudio.com/wiki/DIK_KeyCodes Credits & Thanks: Thanks to All script contributors Thanks to everyone who tries to do the best for this game! Thanks to BIS for such a great platform . Thanks to BIS Community and BIS Community Forums . Thanks to Armaholic Community and Forums . Changelog: v2.1 Minor change on the code , to avoid loop. Thanks to HazJ. https://forums.bohemia.net/profile/773718-hazj/ v2.0 Added a picture notification when earplugs are in. Added an initPlayerLocal.sqf , in order to run the script from there. Mod Version is now included. v1.0 Forum topic: - Armaholic forums http://www.armaholic.com/forums.php?m=posts&q=39897 Armaholic download GF Earplugs Script - Mod
  24. i tried attachTo, and tried many memoryPoints, none of them can make the object rotate and move perfectly with the weapon while the unit is running...
  25. Behold: JBOY Longboat. The first of many scripts to be released as the mission series Last Tango In Tanoa progresses. This script converts an assault boat into a Tanoan civvie long boat. Great for fishermen, pirates and insurgents. You can see this boat in action in my new mission Last Tango In Tanoa - Episode 1. Please try that mission and rate and comment on steam. Your comments and ratings motivate me to finish the next episodes and create more scripts. How to use this script: Place an empty assault boat object Place a call to this script in the object's init line. Here's some sample calls: // Converts assault boat to an empty longboat _d = [this,""] execvm "Scripts\JBOY_LongBoat.sqf"; // Creates an empty longboat, with no mounted weapon _d = [this,"B_HMG_01_F"] execvm "Scripts\JBOY_LongBoat.sqf"; // Creates an empty longboat, with a mounted weapon on the front // Converts assault boat to a longboat with crew already on board: _d = [this,"B_T_Static_AT_F", units group player] execvm "Scripts\JBOY_LongBoat.sqf"; _d = [this,"B_T_Static_AT_F", [unit1, unit2, unit3, unit4]] execvm "Scripts\JBOY_LongBoat.sqf"; Download demonstration mission: https://www.dropbox.com/s/qn8jsuxmkj3u59b/JBOY_Longboat.Tanoa.zip?dl=0 Crew Size: If longboat has a mounted weapon, then maximum crew size is 4 (driver, 2 passengers, gunner). If longboat does not have a mounted weapon, then maximum crew size is 3 (driver, 2 passengers) Types of Mounted Weapons supported: B_HMG_01_F B_GMG_01_F B_T_Static_AT_F B_T_Static_AA_F Script:
×