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

  1. GF Custom Loot Position Spawn Script by GEORGE FLOROS [GR] Description: GF Custom Loot Position Spawn Script , spawn Weapons , Mags , Items , to the desired position , configurable script. 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 Custom Loot Position Spawn Script , please refer to the included documentation and/or example mission. Place in your mission the files . There is everything included , inside the 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 Scripts. Open this mission to the 3D editor and copy paste ( ctrl c - ctrl v ) the item "Land_BakedBeans_F" , wherever you want , the loot to be spawned . There is included a ready Loot List for a vanilla and Ravage. You can also spawn objects. More about , in the info folder inside Information.txt file. 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: Version 1.0 Forum topic: - Armaholic forums http://www.armaholic.com/forums.php?m=posts&q=39904 Armaholic download GF Custom Loot Position Spawn Script pics:
  2. GF Ravage Status Bar script by GEORGE FLOROS [GR] Hello to all Ravage Players! Description: GF Ravage Status Bar Script , configurable . 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 Ravage Status Bar Script please refer to the included documentation and/or example mission. Place in your mission the files . There is everything included in the description.ext and initPlayerLocal.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 : 1.Players in the server 2.Health 3.Hydration 4.Nutrition 5.Direction 6.Kills 7.Money 8.Radiation 9.FPS 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: v2.0 Code optimization, everything will work without any delay, the status is adjusted for 1920x1080, minor changes, changed the name of all the scripts , starting now with GF . v1.0 Requirements: @CBA http://www.armaholic.com/page.php?id=18767 @Ravage Mod http://www.armaholic.com/page.php?id=29638 Download: Armaholic GF Ravage Status Bar script Forum topic: - Armaholic forums http://www.armaholic.com/forums.php?m=posts&q=39883 - Ravage Wikia http://ravage.wikia.com/wiki/Adding_a_status_bar
  3. GF Auto Loot Road Crash Script - Mod by GEORGE FLOROS [GR] Description: Spawn Random Road Crash , will detect the enabled Mods , without editing lists,for loot and vehicles. 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 Loot Road Crash Script - Mod 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/ ArmA 3 | Notepad ++ SQF tutorial https://www.youtube.com/watch?v=aI5P7gp3x90 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/ BI Forum Ravage Club Owner : https://forums.bohemia.net/clubs/73-bi-forum-ravage-club/ Notes: Spawn Random Road Crash , will detect the enabled Mods , without editing lists,for loot and vehicles. There are 4 options available : 1 = Load every Mod + Bohemia Loot , 2 = Load every Mod - No Bohemia Loot , 3 = Load Bohemia Loot Only , 4 = Custom items only. Custom arrays can be used as well. It is possible to spawn normal alive vehicles , with crew or not or just wrecks. NOTE : The normal vehicles , might also not spawn loot at all , due to the vehicle destuction. There are Blacklist Zones available , 5 from default and a safe distanse from players. It is possible to spawn an Enemy Patrol group , with custom units. More information inside the GF_Auto_Loot_Road_Crash.sqf There 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.0 Forum topic: - Armaholic forums http://www.armaholic.com/forums.php?m=posts&q=40354 Armaholic GF Auto Loot Road Crash Script - Mod
  4. Hello, everyone. I need a script that gives a PC/tablet/laptop the ability to get used in game. I played such a campaign - Underdogs. I was able to switch on PC and the option was called the same way. The other options were: pull monitor cable from PC, Insert USB stick into PC etc. The task was to use the PC and download data using USB. After a minute or so I was able to "pull out" the USB stick and the task was completed. What can I do about this? I guess I have to use this addAction or something like it, which would show me the possible commands, but I also need the other following actions (scripts) for activation. And one more thing - when the PC was activated via the option, a screen building was shown on the display. Another one showed up after inserting the USB stick. So, this is somehow connected to: this setobjecttextureglobal [o, "..."] - which is used to put textures/pictures on a custom screen, that can be named and you can use the name instead of "this". Thanks in advance. Cheers.
  5. Hello, I'm incredibly new to scripting and have no idea really what I'm doing but by reading forums I've gotten this far. So, I play OPTRE with some friends a lot. We decided that the default armaments on the Pelican weren't really all that hot, so we used commands in the Pelican's init in EDEN to spawn it with some extra firepower. The problem lies in the fact that I have the vehicles sync'd to the Vehicle Respawn module. Whenever they automatically respawn at base, they respawn with default armaments, not the 30mm cannons nor JIAN missiles we added in EDEN. Is it possible to add the custom weapons every time they spawn via a script? What I use currently for them is the following: "this addWeaponTurret ["gatling_30mm",[0]]; this addMagazineTurret ["250Rnd_30mm_HE_shells",[0]]; this addMagazineTurret ["250Rnd_30mm_HE_shells",[0]]; this addMagazineTurret ["250Rnd_30mm_APDS_shells",[0]]; this addMagazineTurret ["250Rnd_30mm_APDS_shells",[0]]; this addMagazineTurret ["250Rnd_30mm_APDS_shells",[0]]; this addMagazineTurret ["250Rnd_30mm_APDS_shells",[0]]; this addWeaponTurret ["missiles_Jian",[0]]; this addMagazineTurret ["4Rnd_LG_Jian",[0]]; this addMagazineTurret ["4Rnd_LG_Jian",[0]]; this addMagazineTurret ["4Rnd_LG_Jian",[0]]; this addMagazineTurret ["4Rnd_LG_Jian",[0]]; this addMagazineTurret ["4Rnd_LG_Jian",[0]];" Any help on compiling an SQF to spawn the vehicles with these armaments would be much appreciated. Thank you!
  6. Hello everyone, I have been looking around carefully and all over, but not managed to come across the specific script or code that I want for my mission. I was wondering if anyone knew a script or code with a specific use. - when you interact with an object in-game with a variable name to it, you get an option in scroll menu to activate it - when you activate it, you are sent into the cargo/passenger seat of a specific vehicle with a specific variable name Thanks in advance
  7. Hi. I have some problem to make this script run on Dedi Server. I want to spawn a group and hunt the player/team that activate the trigger. The spawn is correct and they are directed to the position of the one that activated the trigger. The update of the player's position also works correctly. The problem is that the _BadGuys are not deleted if the one that activated the trigger moves away more than 700 meters. I placed a trigger, with OnAct: null = [thistrigger,thislist] execvm "hunter_on foot.sqf"; and the script: _posTrigger = _this select 0; _TeamActTrigger = _this select 1; _1stManTeamActTrigger = _TeamActTrigger select 0; if (isserver) then { if (count allunits < 90) then { //verify that there are no more than 90 units on the map before spawn group _spawn = position _posTrigger ; _BadGuys = createGroup EAST; _BadGuys = [_spawn, EAST, ["O_G_Soldier_SL_F","O_G_Soldier_lite_F"],[],[],[],[],[],260] call BIS_fnc_spawnGroup; _chief = leader _BadGuys; _chief move (position _1stManTeamActTrigger); _BadGuys setCombatMode "RED"; _BadGuys setBehaviour "AWARE"; _BadGuys allowFleeing 0; /////////////////////////////////////////// //Original Script below: anthonyfromtheuk// /////////////////////////////////////////// //If the distance with the player is greater than 700 the team is deleted 0 = _BadGuys spawn { while {true} do { sleep 3; if ((_1stManTeamActTrigger distance (leader _this)) > 700) exitWith { {deleteVehicle _x} forEach units _BadGuys; }; }; }; //UPDATE the player's position and start moving to the new position while {true} do { _chief = leader _BadGuys; if ((unitReady _chief) && {(alive _chief)}) then { sleep 5; if (({ alive _x} count (units _BadGuys)) != 0) then { _chief = leader _BadGuys; _chief move (position _1stManTeamActTrigger); _BadGuys setCombatMode "RED"; _BadGuys setBehaviour "AWARE"; _BadGuys allowFleeing 0; }; }; }; }; }; Any clues? Thanks!
  8. Hello, guys. I want to create a coop mission. For now, all tasks are going to be for destruction. A friend gave me such a script: BIS_fnc_setTask and BIS_fnc_taskSetState: ["soTaskDemo",true,["Destroy the SAM","Demolition","destroy"],[],"Assigned",0,true,true,"destroy",false] call BIS_fnc_setTask; while{(alive soDemoTarget)}do{sleep 3}; ["soTaskDemo","SUCCEEDED",true] call BIS_fnc_taskSetState; This script creates an MP task named "soTaskDemo". It is completed when an object called soDemoTarget is not alive. ["soTaskDemo","SUCCEEDED",true] call BIS_fnc_taskSetState; This script sets the state to complete. But I don't understand where to put each part of the script, I tried with a trigger and I got an error and just 1 notification for Task completed, although I also created an object named like in the script. Please, tell me where to put what. And what else should I do/create, step by step, to succeed. I know that in MP or Coop I don't need to create the Create Task module and it should work only with scripts. Do I put this script in any .sqf file or what? No idea, so I'd appreciate any help. Thank you. Cheers!
  9. GF Blood Stains and SFX Script by GEORGE FLOROS [GR] WARNING!!! This AddOn increases seriously the gore factor in ArmA. It is not recommended for use by children under the age of 15 years. Description: GF Blood Stains and SFX Script , configurable scripts. 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 Blood Stains and SFX 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 and description.ext , 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: Everything is created as a standalone script , in order to have the possibility , to use also the desired scripts only. 1. GF_Bleeding script : This is including 100 different type of Blood. The Bleeding starts when the health is on 40% , for some random time and amount of Blood. 2. GF_Blood_Pool script : This is including 30 different type of Blood , when a unit is killed. There is an option for normal size Blood Pools and Large. There is an option to spawn Flies when killed . 3. GF_Blood_Pool_BIS_Blood script This is including the BIS Blood from BIS Orange DLC , when a unit is killed. There is an option to spawn Flies when killed . 4. GF_Blood_shot script : This is including 35 different type of Blood , for every shot dealt. 5. GF_Particles script This is including a Blood particle when bleeding or killed. 6. GF_SFX scripts This is including some custom and game SFX . GF_SFX_Bullet_Impact for the bullet impact at the bodies . GF_SFX_Killed hear a pain sound when killed . GF_SFX_Screaming for the units when they are getting shot . 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: v.4.0 Updated the included GF Cleanup Script. v.3.0 Code Performance and optimisation, - there was a stuck running the codes in SP and Fps drop Now fixed and several minor fixes. Updated the included GF Cleanup Script. v.2.0 The Known issue , is now fixed, added Custom Scream Sounds for GF_SFX_Screaming, added Lip movement for GF_SFX_Screaming, added more sounds for GF_SFX_Bullet_Impact, added more sounds for GF_SFX_Killed, added an SFX sound for Flies, added some extra options, code optimisation and minor fixes. v1.0 Forum topic: - Armaholic forums http://www.armaholic.com/forums.php?m=posts&q=40082 Armaholic GF Blood Stains and SFX Script
  10. Hi Completely new to scripting, what i'm trying to do is set a trigger to perform a module its synced to when the player enters a vehicle. What I have done in the condition field of the trigger is... man1 in car1. Despite this however nothing still happens and I couldn't find much information in order to execute this properly. Is there anything missing I need to add or create an sqf file to perform this action? Thanks for reading.
  11. GF Crashsites Script by GEORGE FLOROS [GR] Description: Spawn Random Crash sites , at Random position, including configurable loot, 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 Crashsites 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: You can select the number of Crash sites to spawn. The type of Wrecks at the crash sites. The type of loot is configurable. The position of the loot placed. 5 different kind of loot lists. It is possible to change the Crater. It is possible to change the Smoke effect. I tried to fix everything more clear , for everyone to be able to edit this , by their own needs. For the rarity of the items : you can adjust this , by putting double (or more) items (x2) of this kind that you want more. For the ammount of the items : you can adjust this , by changing the last number on theese lines: //lootitems5 items 2 Here ONLY :items , PointerAttachments , BipodAttachments , MuzzleAttachments , OpticAttachments , NVG lootitems5 = "groundweaponHolder" createVehicle _lootPos5; lootitems5 addItemCargo [_items_loot2, 2]; 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: v4.0 Code optimization, added options to: cut the grass around the Crashsites, create a Marker for the Crashsites, added some options and small additions inside the scripts , changed the name of all the scripts , starting now with GF . v3.0 Fixed an error to spawn correctly the Attachments There is availale loot for Unsung , CUP , Ravage and combination of this CUP mod http://cup-arma3.org/ Ravage mod http://www.armaholic.com/page.php?id=29638 v2.0 Change the Smoke particles Added a second file , with loot for the Unsung mod http://www.armaholic.com/page.php?id=29948 v1.0 Forum topic: - BI forums https://forums.bistudio.com/forums/topic/212505-crashsite-script/?do=edit - Armaholic forums http://www.armaholic.com/forums.php?m=posts&q=39709&n=last#bottom Armaholic GF Crashsites Script
  12. Hello! I'm new to Arma scripting but having a background in scripting for web apps and such I find this to be such a good hobby. Anyways, I'm currently trying to spawn some opfor units on a specified location (Which I have done correctly or at least works). After they all spawn I want them to start patrolling the area within a specified range from they're spawn location. Now, I have looked at numerous youtube videos and found a couple of scripts on the internet that i could just copy and paste; But I'm really trying to learn and not have to hack my way during every scenario. Could someone please review my code and point out what I'm doing wrong and correct it so I can try to learn the logic behind the corrections? So far this is what I'm trying... Spawn units on location (infSpawn) from designated list array (_opUnitList) Use a selector variable to pick from list, then updating the selector to reflect the value of the next object in array. After each unit spawns that unit is added to a second list of spawned units (_opUnitSpawned) From the spawned list, use a forEach to cycle through and assign them the patrol task. Everything is working besides the patrol task. I get the "Error Undefined variable in expression: _grp from SpawnGroups.sqf line 40" _opUnitList = [ "CUP_O_TK_INS_Soldier", "CUP_O_TK_INS_Mechanic", "CUP_O_TK_INS_Soldier_FNFAL", "CUP_O_TK_INS_Bomber", "CUP_O_TK_INS_Soldier_MG", "CUP_O_TK_INS_Sniper", "CUP_O_TK_INS_Soldier_TL", "CUP_O_TK_INS_Commander", "CUP_O_TK_INS_Soldier_AT", "CUP_O_TK_INS_Guerilla_Medic" ]; _opUnitSpawned = []; _total = (count _opUnitList); _rnd = 0; for [{_x = 1}, {_x <= 10}, {_x = _x + 1}] do { _pick = _opUnitList select _rnd; hint "Spawning Soldier"; sleep 0.5; grp = createGroup east; _newSoldier = _pick createUnit[position infSpawn, grp]; _opUnitSpawned = _opUnitSpawned + [_pick]; _rnd = _rnd + 1; }; { [group this, position infSpawn, 50] call bis_fnc_taskpatrol; } forEach _opUnitSpawned; hint "Done!";
  13. Good day, community, I do need some help. I'm using RHS for my survival scenario. After quite a break, I returned to Arma and found out that they've added integrated large number of different ammunition types to the weapon configs - great job, actually, love the depth of it. But since you couldn't merge different types of ammo in one magazine (using Outlaw MagRepack), constantly scavenging and swapping weapons, after just an hour of gameplay, I ended up with like 20 different full and half-empty AK mags, which also clogged scroll menu. Basically, I would like to revert it back to single type of magazine (say "rhs_30Rnd_545x39_AK") while keeping whole range of weapons . So, first idea was to make a script that constantly roams through player's inventory and replaces "wrong" types of mags with the one I need. waitUntil {!isNull player}; private ["_magazinesAmmo","_needReplace","_ammoCount"]; while {true} do { sleep 1; _magazinesAmmo = magazinesAmmo player; { sleep 1; _needReplace = "rhs_30Rnd_545x39_7N10_AK" in _x; _ammoCount = _x select 1; if (_needReplace) then { player removeMagazine "rhs_30Rnd_545x39_7N10_AK"; player addMagazine ["rhs_30Rnd_545x39_AK",_ammoCount]; }; hint format ["%1\n%2\n%3",_x,_needReplace,_ammoCount]; } forEach _magazinesAmmo; }; With that I managed to replace one type of mag with another. But then I kinda get lost in arrays and their nesting. Also I couldn't find the way to remove specific mag (with selected number of ammo), so problem might be with removing/adding magazine with wrong number of ammo. What I need is to get it working with arrays of pairs like: [ [["wrong_mag_calA_01","wrong_mag_calA_02"],"right_mag_calA"], [["wrong_mag_calB_01","wrong_mag_calB_02"],"right_mag_calB"] ]; Maybe, there's another way, like changing CfgMagazines somehow, so all the RHS weapons simply spawn with one type of magazine each, but I've currently have no idea how to make that. Any help or advice appreciated. Thank you.
  14. Hi, im looking for a script that does as the title says. Thanks.
  15. Reserved slot script for arma 3 mission working on mp and sp https://github.com/alezm00/AZM_Functions/tree/master/res_slot.Tanoa https://github.com/alezm00/AZM_Functions/ put [] execVM "Reservedslots.sqf"; in the init.sqf then open the file reservedslots.sqf and edit the main functions [Arma3 UID, slot variable name] call AZM_RESERVED_SLOT;
  16. GF Visors Script - Mod by GEORGE FLOROS [GR] Description: GF Visors , will simulate wearing helmets and goggles. 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 Visors Script please refer to the included documentation and/or example mission. Place in your mission the files . There is everything included , in the initPlayerLocal.sqf and description.ext , 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: GF Visors , will simulate wearing helmets and goggles, by displaying an image and there are available options for collorcorrections and fade sound. There is an option to force 1st person view when wearing this gear. There are 4 different displays and it is possible to add more. 2 helmet displays and 2 goggles. The list of the selected gear ( classnames ) is custom and can be modified , so it will work with every addon. There 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.0 Forum topic: - Armaholic forums http://www.armaholic.com/forums.php?m=posts&q=40329 Armaholic GF Visors Script - Mod
  17. Does anyone have a script or an immersive way to skip time? I would like for everyone to be able to change the time, either by adding an action to deployed sleeping bag (like zues has with spawn points), or a simple, if you sit down you get an addaction to skip the time 2 hours forward. It would be amazing if there was a fallout kind of way to skip time, with a slider and everything.
  18. Hello everyone. I've got a problem with a script That's my problem: I created a door with a digital board that must open with a code. Once the code entered on the digital board, the door can open. But if it closes, you can not open it again!! (That's the problem). my script is: class CfgVehicles { class Static; class Wall_F; class Rico_my_gate_digitale_01: Static { editorPreview="\mydoc\data\ui\Land_ConcreteWall_01_l_gate_F.jpg"; scope=2; scopeCurator=2; icon="iconObject_10x1"; model="\A3\Structures_F_Exp\Walls\Concrete\ConcreteWall_01_l_gate_F.p3d"; displayName="MyGateDigitalNamed"; vehicleClass="Structures_Walls"; cost=0; armor=200; mass=200; class EventHandlers { init=" Code_a_inserer =floor random [11451,50000,99999]; publicVariable ""Code_a_inserer""; Rico_code_gate_01=false; publicvariable ""Rico_code_gate_01""; [_this select 0] execVM ""mydoc\scripts\myOtherScript.sqf"";"; /*myOtherScript.sqf is the script I use to put de code on a keypad to open the door*/ }; class AnimationSources { class Door_1_sound_source { source="user"; initPhase=0; animPeriod=5; sound="RoadGateDoors"; soundPosition="Door_1_trigger"; }; class Door_1_noSound_source { source="user"; initPhase=0; animPeriod=5; }; class Door_1_locked_source { source="user"; initPhase=0; animPeriod=0.80000001; }; }; class UserActions { class OpenDoor_1 { displayNameDefault="<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />"; displayName="$STR_DN_OUT_O_DOOR"; position="Door_1_trigger"; priority=11; actionNamedSel="Door_1_action"; radius=3; aiMaxRange=9; onlyForPlayer=0; condition="((this animationSourcePhase 'Door_1_sound_source') < 0.5) && (cameraOn isKindOf 'CAManBase') && (Rico_code_gate_01)"; statement="([this, 1, 1] call BIS_fnc_Door)"; }; class CloseDoor_1: OpenDoor_1 { displayNameDefault="<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />"; displayName="$STR_DN_OUT_C_DOOR"; priority=11; condition="((this animationSourcePhase 'Door_1_sound_source') >= 0.5) && ((this getVariable ['bis_disabled_Door_1', 0]) != 1) && (cameraOn isKindOf 'CAManBase') && (Rico_code_gate_01)"; statement="([this, 1, 0] call BIS_fnc_Door); this animate [""OpenDoor_1"", 0]; Rico_code_gate_01=false; publicvariable ""Rico_code_gate_01"";"; }; }; actionBegin1="OpenDoor_1"; actionEnd1="OpenDoor_1"; }; }; So how to add a command that will verify that the unlocking script has been executed, and especially where? Thank you very much
  19. Hello guys. I would like to know which programming language most identifies with Arma3. I intend to start some course in this area. Not as a profession, but only out of passion for Arma 3.
  20. Good evening everyone ! I've got a few problems with my mission. I need to make a mission that is playable in local with 8 players in total. I've put my two playable teams of 4 player each (with respawn points specific for each team and respawn points synchronised to each member of the groups) and put objects (building and vehicles) and triggers (with timers) in order to make my mission. I've got Eden Enchanced installed and I've put scripts (description.ext, init.sqf, initServer.sqf, loadout.cpp and onPlayerRespawn.sqf). Here are my problems: -When people are joining and the host launches the mission, even though the host can play the mission, players joining them are stuck to the mission loading screen (put they can still hear the ambient sounds of the mission). I later found out that if I remove the possibilty for people to revive their squadmates, this problem doesn't exist anymore (although it's annoying that i have to do that for making my mission work). But this leads to the second problem... -When people who joined are in the lobby when the mission starts, they will spawn as seagulls. If they join the server during the mission, they will spawn as normal soldiers. There, sorry everyone to have disturbed you and I hope that you can help me solve this problem asap. If you need other infos, you can ask me. Have a good night !
  21. Just like the title. I basically want to have two (or more) of the same vehicles to be one blue and one red. I know some basics on scripting but I could not find anything on how to go about this. I can only assume I make a solid red and solid blue .paa and fine some script to say "make color car1 "red.paa" or whatever. I appreciate any feedback or comments.
  22. GF Status Bar script by GEORGE FLOROS [GR] Description: GF Status Bar Script , configurable . 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 Status Bar Script please refer to the included documentation and/or example mission. Place in your mission the files . There is everything included in the description.ext and initPlayerLocal.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 : 1.Players in the server 2.Health 3.Direction 4.Kills 5.FirstAidKit 6.Mags 7.Altidude 8.Grid 9.Time 10.FPS 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.0 Forum topic: - Armaholic forums http://www.armaholic.com/forums.php?m=posts&q=40080 Armaholic GF Status Bar script
  23. GF Ambient Environment Sounds Script by GEORGE FLOROS [GR] Description: GF Ambient Environment Sounds Script , create your desired , Ambient Environment. 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 Ambient Environment Sounds Script please refer to the included documentation and/or example mission. Place in your mission the files . There is everything included , in the initPlayerLocal.sqf and the Description.ext , 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: Create your desired , Ambient Environment. You can add your custom sounds. It is also included a mod version , posible to unpack and edit. The sound files including , day and night ambience according to time. The script will prevent running , when the player is inside a vehicle or water. There are sound files for birds , insects and some forest SFX , also a day and a night ambient loop. 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 Deleted the playsound files. Minor Fixes. v1.0 Forum topic: - Armaholic forums http://www.armaholic.com/forums.php?m=posts&q=40255 Armaholic GF Ambient Environment Sounds Script
  24. Hi folks, I'm trying to get away from editor-placed zeus modules, and I've got everything working except editing units. With the following code, a connected player is assigned a curator module that's dynamically created, and can create/delete/move/issue waypoints to spawned units: but double-clicking on the unit does not produce the editing dialog. What am I missing? curatorGroup = createGroup sideLogic; addMissionEventHandler ["PlayerConnected", { params ["_id", "_uid", "_name", "_jip", "_owner"]; _player = (allPlayers select {owner _x == _owner}) select 0; private _curatorModule = curatorGroup createunit ["ModuleCurator_F", [0, 90, 90], [], 0.5, "NONE"]; _player assignCurator _curatorModule; _player setVariable ['curatorModule', _curatorModule]; }]; (My code is a bit more elaborate than this, but this stripped-down version produces the same results.) Thanks, Ryko
  25. Hello everyone! I have a problem with scripting for dedicated servers. I have a mission for Multiplayer, but there is an AI bot that should get in a helicopter and fly to some waypoint, land and get out. I used the following script for that and it worked. But I've tried to use it now and it works appropriately only in Eden Editor or hosted server. Please help me what am I doing wrong. Also I'm trying to move an object (hedgehog) with the scripts presented below, but there is a strange behavior. They are rotating before move and are moving with delay. I have this code in init.sqf file Thank you in advance! if (!isServer) then { border1 addAction ["<t color='#0000FF'>Lock western way</t>", { [] call moveToWest; }]; pilot1 addAction ["<t color='#00FF00'>Go!</t>", { [] spawn goToAirport; }]; }; moveToEast = { removeAllActions border1; border1 addAction ["<t color='#0000FF'>Lock western way</t>", { [] call moveToWest; }]; if (!isDedicated) exitWith {}; [30, [], { border1 setPos [11310.616, 5955.567, 0]; border1 setVectorDir [0.152, 0.764, 0]; }, {}, "Moving blocks..."] call ace_common_fnc_progressBar; }; moveToWest = { removeAllActions border1; border1 addAction ["<t color='#FF0000'>Lock eastern way</t>", { [] call moveToEast; }]; if (!isDedicated) exitWith {}; [30, [], { border1 setPos [11280.235, 5917.037, 0]; border1 setVectorDir [359.389, 2.748, 285.230]; }, {}, "Moving blocks..."] call ace_common_fnc_progressBar; }; goToAirport = { removeAllActions pilot1; if (!isDedicated) exitWith {}; pilot1 assignAsDriver helicopter1; [pilot1] orderGetIn true; waitUntil {pilot1 in helicopter1; }; sleep 5; _grp = group pilot1; _wp1 = _grp addWaypoint [getMarkerPos "wmt_west_heli_target", 0]; _wp1 setWaypointType "MOVE"; _wp2 = _grp addWaypoint [getMarkerPos "wmt_west_heli_target", 0]; _wp2 setWaypointType "GETOUT"; };
×