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. I've been getting this error in multiplayer in the log: Performance warning: SimpleSerialization::Write 'bwpp_scrpromotion' is using type of ',SCRIPT' which is not optimized by simple serialization, falling back to generic serialization, use generic type or ask for optimizations for these types I did not get this error when I tested my mission in singe player. I read some posts today from several years ago stating that this error is related to network traffic in which the type of data being sent across the network is not ideal. I was saving a script handle to a logic using SETVARIABLE (public true). After reading these posts I stopped saving the variable to the logic and instead began saving the script handle to a local variable in an FSM. I am still getting this error. Is it because a script handle cannot be saved to a variable, or that the saved script handle is being used in an FSM, or is it something else? Thanks, ben
  2. So I've tried using the setrandomlip command. It works perfectly well in Singleplayer, but not on a dedicated server. I've looked into the .lip stuff, but honestly it's way too much work for just adding a minor detail in a mission. Is there a way to get setrandomlip working in multiplayer? Currently what I've done is set up a trigger using the unit's variable name to start randomlip, then another one to end it set to activate several seconds later. UPDATE: unticked "server only" on trigger. It now works.
  3. Hey guys! First script I've ever put up on the forums, but as far as I know no one has posted a hostage script using the new HoldAction function. I needed it for a mission and figured it may be helpful to some! I'm not sure if it works in MP yet, 2 AM so I haven't gotten to test.Tested and working in MP! For me anyway. Any bugs or blatant mis-coding, let me know! Features: Random hostage animation. AI joins player group after release. Uses Arma 3 Hostage Icons. Multiplayer Compatible (JIP should work too) Random interruption and completion dialogue from hostage. Nothing too fancy! Just simple. INSTRUCTIONS/CODE: SCRIPT: For use on units spawned via script, see @davidoss's wonderful example right here. Changelogs: For those who just want a download link: DOWNLOAD HERE (Google Drive)
  4. GF Cargo Airdrops Script by GEORGE FLOROS [GR] Description: Spawn Cargo Airdrops, including configurable loot and it can be a random or supply drop , of any kind of item - vehicle. 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 Cargo Airdrops 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: The Airdrops can be spawn , on certain locations or random. It can be used for a supply Airdrop. You can select the number of Airdrops to spawn. The type of Cargo can be anyting , item or vehicle. The type of loot of this item , is configurable. It is possible to adapt this script easy , by your own needs. 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 . Special thanks to : zagor64bz https://forums.bohemia.net/profile/805186-zagor64bz/ lordfrith https://forums.bohemia.net/profile/1079222-lordfrith/ Changelog: v 4.0 Code and fix optimization. added a mod version. v3.1 Code and fix optimization. Fixed an error: the plane sound now works in all clients. v3.0 added option for : show the Airdrop position with a marker, random loot, minor changes. v2.0 added a modified Script by zagor64bz and lordfrith , GF_Cargo_Airdrops_ZAG_LORD , added a modified Script for requested Airdrops, added an option , for spawning groups , that try to find and secure the dropped Cargo , added some options and small additions inside the scripts , changed the name of all the scripts , starting now with GF . v1.0 Forum topic: - Armaholic forums http://www.armaholic.com/forums.php?m=posts&q=39846 Armaholic download GF Cargo Airdrops Script
  5. Ive been at it for a god 12 hours but i cant get this script yo execute when i start a mission:inGameUISetEventHandler ["Action", " _tk = _this select 0; if (_tk in MGI_tanks) then { if ((_this select 3) == 'GetInDriver' and count crew (_this select 0) > 0) then { _units = crew (_this select 0); if (!isnil MGI_agent) then {_units = _units - [mgi_agent]}; {unassignVehicle _x} forEach _units; _units allowGetIn false; }; if ((_this select 3) in ['GetInGunner','GetInCommander','GetInTurret']) exitWith { hint parseText ('<t>Jump in driver'+""'""+'s seat<t/>'); true }; if ((_this select 3) in ['MoveToGunner','MoveToCommander','MoveToTurret'] && !(player getVariable ['gunning',false])) exitWith { hint parseText ('<t>Only driver'+""'""+'s seat available<t/>'); true }; }; "]; MGI_EHTank = ["MGI_TK","onEachFrame", { _veh = vehicle player; if (!isNil "MGI_agent" && {!(_veh in MGI_tanks) or !(MGI_agent in _veh)}) exitWith { deleteVehicle MGI_agent; MGI_agent = nil; (findDisplay 46) displayRemoveEventHandler ["keyDown",MGI_keysDriving]; MGI_keysDriving = nil; }; if (player == driver _veh and _veh in MGI_tanks) then { {_veh lockTurret [_x,true]} forEach allTurrets _veh; if (cameraView != "external") then {player switchcamera "external"} } else { if (player == gunner _veh && _veh in MGI_tanks && diag_tickTime > MGI_timerTurreting + 10 && (cameraView == "external" && isnil "MGI_signTkDest")) then { player action ["MoveToDriver", _veh]; player setVariable ["gunning",false]; if !(isnil "MGI_agent") then { deleteVehicle MGI_agent; MGI_agent = nil; deleteGroup MGI_agent_Grp; {_veh lockTurret [_x,true]} forEach allTurrets _veh}; }; }; if (isnil "MGI_keysDriving") then { MGI_keysDriving = (findDisplay 46) displayAddEventHandler ["KeyDown", " private _handled = false; if (!isnil 'MGI_agent'&& {if (inputAction _x >0) exitWith {1} } count ['turnLeft','turnRight','moveBack','moveForward','moveFastForward'] >0) then { enableSentences false; [] spawn {uisleep 1; enableSentences true}; }; _handled "]; }; }] call BIS_fnc_addStackedEventHandler; MGI_1ManTank = { if (!hasInterface) exitWith {}; MGI_timerTurreting = 0; MGI_tanks = []; waituntil {!isNull findDisplay 46}; _MGI_mousingGunner = (findDisplay 46) displayAddEventHandler ["mouseMoving",{ _veh = vehicle player; if (_veh in MGI_tanks) then { _veh allowCrewInImmobile true; _veh setUnloadInCombat [true,false]; player setVariable ["gunning",true]; if (gunner _veh != player) then {player action ["MoveToTurret",_veh,[0]]}; MGI_timerTurreting = diag_tickTime; if (isnil "MGI_agent") then { MGI_agent_Grp = createGroup playerSide; MGI_agent = MGI_agent_Grp createunit ["B_Soldier_VR_F", getpos _veh, [], 0, "CAN_COLLIDE"]; MGI_agent moveInDriver _veh; MGI_agent setBehaviour "COMBAT"; MGI_agent setSpeedMode "FULL"; }; }; }]; while {true} do { uisleep 2; { MGI_tanks pushBackUnique _x; _x setVariable ["onetk",true]; } forEach (vehicles select { (_x isKindOf "tank" or _x isKindOf "Wheeled_APC_F" ) && isnil {_x getVariable "onetk"}}); }; }; 0 = [] spawn MGI_1ManTank; One man tank crew script that works, But having a mod with this as a init does not wanna execute, Could someone help
  6. Marshall's Tandem Mod for a few months, I've been working on a tandem skydiving mod and today I'm proud to announce that ill be releasing this mod to steam workshop in the next few weeks I am working on the final touches to make this mod be able to move from the Alpha build to open it up for a public Beta. below is some media showcasing the mod and after that is a list of current and future features. Media: Current Features: ACE Compatibility from launch BackpackOnChest by DerZade Compatibility from launch Compatibility with most base and modded parachutes (primarily tested with base game steerable parachute) Compatibility with both walking to deploy (I.e C-130 or C-17) but also from seated air vehicles (I.e Helicopters) Item required to establish a tandem mode Fully Multiplayer Compatible Planed Features: Clipping in and out sound effect Custom animations for the actual fall Custom animations for in-vehicle (Long Term) Below I may or may not have put a small trailer that i quickly made as a showcase i do plan on doing a proper cinematic trailer for the mod in the future How to use the mod on the release: go to an arsenal and get a tandem harness and parachute From land: 2. find a tandem buddy and use ace interact with them and attach them 3. then jump off an edge :)))) From a Vehicle: 2. Jump in a passenger seat in an air vehicle both you and your tandem buddy need to be in a cargo seat 3. use ace interact on the buddy you want to jump with and select jump with tandem (or something like that) Required Mods: ACE BackpackOnChest CBA_A3
  7. Hi, I'm actually creating my first replayable mission and for that I need to place hostages in a predefined random position, I've place different trigger with hostages inside, I want to choose one of those and delete all other. Here is the script I made but all hostages are delete when I run it : private _HostPos = [trig01, trig02, trig03] _HostPos deleteAt (random (count _HostPos)); _y = count _HostPos; for "_i" from 0 to _y do { {deleteVehicle _x} forEach allUnits inArea (_HostPos select _i); }; Could you help me ? thanks
  8. Story This is a script that I wrote a few weeks ago for a friend. It's supposed to let AI's with specific backpack's deploy static weapons automatically in a combat. You can link specific backpacks with specific static weapons multiple times. This script doesn't work, if the AI is in a combat mode all the time or if the AI never gets to be in a combat mode. There are several routine integrated to avoid script errors. A description can be found inside the SQF file, how to execute the script. It's SP/MP/Dedicated and HC compatible. Have fun. Content It is a single ~80Code-Line-Big Script to let AI's with specific backpack's deploy static weapons automatically in a combat. Purpose The aim of this script is to make it easier to implement a universal script, which makes a combat with AI more interesting. Download Missions and Script on GitHub ArmaHolic Link Credits Script & Media: Rockhount Examples nul=[["B_Bergen_dgtl_F","B_Mortar_01_F"]] execVM "HandleAutoDeploy.sqf"; nul=[["B_Bergen_dgtl_F","B_Mortar_01_F"],["B_Bergen_mcamo_F","B_Mortar_01_F"]] execVM "HandleAutoDeploy.sqf"; nul=[["B_Bergen_dgtl_F","B_Mortar_01_F"],["B_Bergen_mcamo_F","B_Mortar_01_F"],["B_Bergen_hex_F","B_GMG_01_high_F"],["B_Bergen_tna_F","O_GMG_01_high_F"]] execVM "HandleAutoDeploy.sqf"; All 3 examples are possible, because there is no limit for the amount of parameters.
  9. So i have a trigger and in the condition i wrote player in thisList; then i tested it and the trigger wont work even with this simple condition.What is the problem?even if i set to blufor or anybody.I tried with and without mods.Same result.
  10. Hi i have a doubt about a script to move the USS Liberty (static ship)... Are any script guide or something to make it work? Like to free move as a vehicle. I found this on reddit but the publisher said that is works "fine" in SP but in Mp didn't work (I test it and he is right), he said that may be it could be fix doing... that was 2 years ago, someone could tell me how to do that to fix this error? just imagine the possibilities in multiplayer with a movable USS Liberty 😎 . ·Link (reddit post): ·Link (files): https://github.com/Keithenneu/arma_moving_ships
  11. Hello, everyone! I have played missions with such tasks. For example: the player can finish a main task, shown above the others, when 2 or more other side/secondary tasks are completed. My simple example: -> Main Task: Survive - Kill The Officer - Destroy Tank When I kill the officer and destroy the enemy tank, I have completed these side/secondary tasks, and with that the main task: Survive, is also completed. Is this some special script that should be used or just placing down any modules in the Eden editor?
  12. Hello all, and thank you for taking the time. I have been looking around plenty on the forums and on threads about scripts and mods, there are a lot of nice content out there - all similar to what I am looking for to some extent, but not fully. This is why I wanted to create a thread and throw my question out there, as I am looking for something like a script with specific functions; I am making something like a cops and robbers mission for my friends to enjoy on MP and dedicated server, one side will be police and one side will be bad guys. Wondering if there is a script out there that when a police is in close proximity to one of the bad guys, it plays a surrender animation on the bad guy, as if the person has been grabbed and caught after trying to run away or get away from the police! Cheers, saddle
  13. GF Building Replacement Script - Mod by GEORGE FLOROS [GR] Description: GF Building Replacement Script - Mod , replace the buildings with your desired. 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 Building Replacement 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 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/ BI Forum Ravage Club Owner : https://forums.bohemia.net/clubs/73-bi-forum-ravage-club/ Notes: GF Building Replacement Script - Mod , replace the map's buildings with your desired. 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: v2.0 Added a distance check and blacklist zones Added more options v1.0 Forum topic: - Armaholic forums http://www.armaholic.com/forums.php?m=posts&amp;q=40364 Armaholic GF Building Replacement Script - Mod
  14. GF ALIAS Anomaly Spawner Script by GEORGE FLOROS [GR] Description: GF ALIAS Anomaly Spawner Script , is a configurable spawner for ALIAS Anomaly 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 ALIAS Anomaly Spawner 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/ 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: GF ALIAS Anomaly Spawner Script , is a configurable spawner for ALIAS Anomaly Scripts. I was asked several times on how to spawn them automatically , without any editing in the 3D editor and create multiple spawns. This is why i created this spawner : The scripts of ALIAS are NOT included ! This Spawner Script is supporting the following : Burper Farty Flamer Screamer Smuggler Sparky Steamer Strigoi Worm Everything in the description.ext , is ready to use with these scripts. There are settings for : Debug Max Number of the spawned scripts Blacklist Zone distance Safe distance spawn from players Select ( scripts ) The spawner will work automatically , without need of placing Markers in the 3Deditor. The spawn position will be random. #CAUTION : Inside the Description.ext , the initServer.sqf and the initplayerlocal.sqf , there are extra codes for Farty and Flamer Scripts. If they are not in use , they must be deleted. Credits and Thanks to : #SPECIAL THANKS TO ALIAS ! He was my motivation to start scripting. I'm following him all these years and for me , it's a unique person. The least that i can say is , thank you ALIAS for everything ! 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&amp;q=40409 Armaholic GF ALIAS Anomaly Spawner Script Thank you very much ALIAS for everything ! PS : You are the Greatest !!! I have told you and you know that !
  15. Plant and harvest your health plants. Due to request of script author . Link was removed.
  16. Hey Been looking around for a way to teleport a vehicle up in the air X amount of meters in Zeus with no luck. I've tried "BIS_fnc_setHeight" and teleport commands but none them will work. I want to execute the command via the "Execute Code" module from ZEN or via the vehicles init (in Zeus). The vehicle in question will contain players, that's why I wanna be to execute it in Zeus. I can't for my life find something that will work and would love to know if someone is sitting on the secret of how to do this? Looking forward to a hopeful fix.
  17. so me and my friends set up a story line and everything is almost perfectly set but I've run into a slight problem.... we made a unit yada yada, i played online to see if our patch was showing and it was, everything looks perfect shows up on the shoulder and on planes cars ect. but when i run the mission i created it seems the patch doesn't show up at all. it still shows the unit tag above my player name so if someone knows a fix to this it would be much appreciated. (running the mission in multiplayer on a lan based server)
  18. I need help with a script, Will there still be any way to download this script here? https://forums.bohemia.net/forums/topic/77374-improved-bullet-cam-script/ The Original Download Link Does Not Open.
  19. Hey everyone, I've gone and created a pretty ambitious first mission with multiple paths depending on how effectively the player can assist ground forces. I've completed the mission but I want to refine one of my scripts. I've tried to educate myself as much as possible but I can't seem to find a tutorial/forum post for my specific problem. One of the objectives for the player to complete involves destroying reinforcements dropped off via helicopter. I had scripted the objective to be completed by killing the infantry and destroying their supporting gunship. However, I scripted it using specific names for each individual troop, ie !alive Heli_Troop1a && !alive Heli_Troop1b && !alive Heli_Troop2a etc etc. It was a brute force method to sort of get the effect I wanted and required specific units to be killed. I am looking for a way for each squad member to be counted, totaled, and compared against a desired value. I'm using 7 as that value as that is about 1/3 of all the troops. The script I have tried using in the trigger is: ({alive _x} count units Heli_Troops1 + Heli_Troops2 + Heli_Troops3) < 7 && !alive Heli_2 && triggerActivated Trig_Heli_Troops; The editor accepts the code but upon starting the mission I get an error message about a generic error in expression. I'm not sure what I'm doing wrong, but then again I barely know any real scripting beyond simple commands I can look up. I have also tried multiple different ways of writing the count units section of code including using && instead of + and separating each group name with (). None have worked. If anyone could help me out I'd greatly appreciate it. Edit: Disregard solved it! (({alive _x} count units Heli_Troops1) + ({alive _x} count units Heli_Troops2) + ({alive _x} count units Heli_Troops3)) < 7 && !alive Heli_2 && triggerActivated Trig_Heli_Troops; Still kind of a roundabout way I feel, but it works. Maybe this can help someone else.
  20. Script Version 1 Released October 28, 2019. This script addresses problem where 2 enemy AI are too close together and they either do not shoot (and jerk around), or shoot through each other without hitting each other. I encountered this a few times in my Scripted AI CQB Movement script, and decided it would be fun to solve it with a melee attack. Videos: I'm adding this to my Scripted AI CQB Movement script. But someone else might want to use this for other purposes (AI scripts, cutscenes, etc.). So here it is if someone wants the whole thing or pieces of it. Download V1 zip file and put unzip folder to your missions directory: Features: Loop senses when AI within 2 meters of enemies, and chooses one AI to do melee attack. AI uses Forehand/Backhand/Overhead strike animations with rifle attached to hand. Strike pushes near enemies back to give fighter some breathing room (very helpful when being ratpacked by zombies!) Randomized Loser reactions: Drop weapon Ragdoll to ground after strike Try and pull pistol after losing primary weapon Striker executes victim after striking him. Pain grunts and shouts using in-game voice files (all vanilla voice languages supported) Thanks to @LSValmont, @GEORGE FLOROS GR, EO and others for suggestions and support.
  21. GF Units Map Markers and Symbols Script by GEORGE FLOROS [GR] Description: GF Units Map Markers and Symbols Script , simple Map Markers for AI and Players. 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 Units Map Markers and Symbols 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 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: Simple Map Markers and Symbols for AI and Players for SP - MP and debug purpose. It is also included a mod version , posible to unpack and edit. The mod has enabled only the playerSide markers. It is possible to filter the display . You can add in the init of a unit to exclude : this setVariable ["Var_GF_Units_Map_Markers", true]; this setVariable ["Var_GF_Units_Map_Symbols", true]; More information inside the .sqf Added support for : ACE3 mod , FAR , BTC and AIS revive. 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: v3.0 Fixed the group icon error, for the size of the unit v2.0 Several Fixes , including type of markers , symbols and errors. Added markers depending on side. v1.0 Forum topic: - Armaholic forums http://www.armaholic.com/forums.php?m=posts&q=40252 Armaholic GF Units Map Markers and Symbols Script
  22. StarFish-50124bf6f5acc6e5

    First time modeling

    (im new to this) Hello, im trying to import a 3D building i made in blender into Arma 3. I have already inserted it into object builder and messed around with the LOD's and etc. My issue is the config files needed to make it into a PBO and work within arma as a building / model. I dont really understand where im able to get the configs or even to write them. i've only done this once but forgot to save the files before formatting my computer. I was wondering if anyone has a tutorial or the files needed (where i just rewrite the names inside the script) Any help is appreciated! Thank you
  23. Hi all, I've been stuck on this AI artillery problem for half a day now. I have 2 enemy mortars I wish to activate via trigger and script (separately, by that I mean they aren't grouped together and I have 2 triggers calling the script once for each mortar). Testing the trigger and script in game, I was originally getting an error for undefined variables (both _mortar and _target), but now I'm getting an error for "undefined variable in expression _target". In each trigger, I have: script = [mortarNumber, getMarkerPos markerNumber] execVM "eFireMission.sqf"; which, after some tuning, I turned into: markerTarget1 = getMarkerPos marker1; null = [mortar1, markerTarget1] execVM "eFireMission.sqf"; (does this difference do anything? I originally assumed that using "getMarkerPos" in the passed variable would work since "getMarkerPos" returns an array, doesn't it? And for my script, I incorporated a script I saw on the forums through a google search for artillery scripts from 7 years ago (user 2nd Ranger's post in that thread) for an MP mission I'm making for my friends and I: _mortar = _this select 0; //--- name of the mortar, arg passed from trigger _target = _this select 1; //--- central point around which mortar hits, arg passed from trigger if (isServer) then{ for "_i" from 0 to 8 do { _radius = 50; //--- random radius from the center _pos = [ (_target select 0) - _radius + (2 * random _radius), (_target select 1) - _radius + (2 * random _radius), 0 ]; _mortar doArtilleryFire[ _pos, getArtilleryAmmo[_mortar] select 0, 1 ]; sleep 2; //--- delay between rounds }; }; What am I doing wrong? Any help is appreciated, this is my first time scripting for Arma 3, I'm a little lost
  24. So here's my problem: I have a line of code that goes into the init box of a group leader to make the group hunt the player(s) by setting a waypoint at the player's current position, however, the code runs at mission start (obviously because it's an init). I want to know if there's a line of code similar to WaitUntil that will work for the unit's init box in Eden. The reason I want to do it this way is because I don't want to mess with .sqfs/variable names for each individual unit/squad. What I have now is copy/paste-able in Eden and that's what I'm looking for. I've tried: 1) WaitUntil, but that command doesn't work in Eden 2) If TriggerIsActivated, but either I'm getting the syntax wrong or it doesn't work either. 3) enable dynamic sim, which is great, but it still places the waypoint at the start of the mission at the players Alternatively, I could loop the code, but I can't figure out how to use Sleep effectively where it's still performance friendly. Here's the code: if (isServer) then { _null = this spawn { Hunt_players_fnc = { _player = objNull; _players = +(allPlayers - (entities "HeadlessClient_F")); _distance = 100000; { if (alive _x && _x distance (Leader _this) < _distance) then { _distance = _x distance (Leader _this); _player = _x; }; } foreach _players; if !(isNull _player) then { _wp = (Group _this) addWaypoint [getPos _player, (50 + (floor(random 70)))]; _wp setWaypointStatements ["true","_null = this spawn Hunt_players_fnc;"]; _wp setWaypointType "SAD"; _wp setWaypointCombatMode "RED"; _wp setWaypointSpeed "FULL"; }; }; _null = _this spawn Hunt_players_fnc; }; }; Thanks.
  25. Hello. For the past hour or so I've tried to link an addaction to another addaction in the init field of a data terminal. Here's my notes for that init section and the script. //Add an action to a data terminal to open it //When that action is activated by a player, it will add another action //When that second action is activated, it will run an .sqf file that //consists of the nopop variable this addAction ["Startup Terminal", {[KillhouseControl,1] call BIS_fnc_dataTerminalAnimate; this addAction ["Start Killhouse", targetup.sqf}]]; this addAction ["Shutdown Terminal", {[KillhouseControl,0] call BIS_fnc_dataTerminalAnimate;}]; //To-do: Remove action First of all, is there anything I'm doing wrong? Second of all, is there a way to do this?
×