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
    • 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 Virolahti
  • TKO's Rules
  • TKO's Changelog
  • TKO's Help
  • TKO's What we Need
  • TKO's Saint Kapaulio
  • 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
  • SOS GAMING's TS³ Viewer
  • 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

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

  1. Good afternoon all! I am here today because I meet a problem ... Indeed I do not know how to retrieve in a script the content of a variable that was created in another script. In other words I have a script 1 which has a variable _chose and in script 2 I want to recover this variable _chose. Thank you for reading my few lines! and I hope you can help me ... Good bye !
  2. GF Auto Loot Airdrops Script - Mod by GEORGE FLOROS [GR] Description: GF Auto Loot Airdrops , will detect the enabled Mods , without editing lists,for loot. 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 Airdrops 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: GF Auto Loot Airdrops , will detect the enabled Mods , without editing lists,for loot. 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. There are Blacklist Zones available , 5 from default and a safe distanse from players. This is the new reedited version of the previous GF Airdrops script. More information inside the GF_Auto_Loot_Airdrops.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=40315 Armaholic GF Auto Loot Airdrops Script - Mod
  3. I've got a trouble scripting a veichle... I have a VTML Lince (like an US Humvee) with the turret..The animation of the turret (a Browning) doesn't work... (so does not rotate exc..) I used the model.cfg file in the Arma 3 Samples of the Car01 but I miss the part of the turret animations. Can anyone help me?
  4. The script I'm working on calls for random sqf selection. I found this, here, and I want to make sure I understand the function. Please advise if my comments to the script are correct. _script = [1,3] call BIS_fnc_randomInt; //defines a range for cases, actually says 1-3 or 1, 2, 3. Selects one randomly. switch (_script) do { // -- I think it says if "_script" is defined, do case 1 : { [] execVM "1.sqf"; }; //put script names here case 2 : { [] execVM "2.sqf"; }; case 3 : { [] execVM "3.sqf"; }; }; SwitchDo So I could, EMERGENCY = [1,3] call BIS_fnc_randomInt; switch (EMERGENCY) do { case 1 : { [] execVM "searchZONE.sqf"; }; case 2: { [] execVM "searchZONE2.sqf"; }; case 3 : { [] execVM "noEMERG.sqf"; }; }; Can I increase the probability of a script by using it for multiple cases? Or would I use something like selectRandomWeighted?
  5. So my goal is to make zeus blind from Blue players and i have med som progress. However it seems for some reason when i run my script to remove Blue players, the game adds them again. while {true} do { sleep 10; { if !((side _x) == east) then { ZM1 removeCuratorEditableObjects [[_x],true]; }; } foreach allUnits + vehicles; }; I am looking for any suggestions to how i can fix this. Thanks!
  6. So, im setting up a SP mission. Out of complete randomness the AI decided to shoot at my jeeps with their RPG. i found that so dope so I wanted to have that in the mission but it just wont replicate. I tried setting a Destroy waypoint on the vehicle - AI does nothing, just walks there. I tried setting them to open fire and combat state and just let them stand around (which was basiclly the same that happened when it randomly worked) but they wont shoot at it.... so what am I supposed to do to make this horrendous AI work the way i want? shouldnt it be self explenatory to enable the AI to shoot rockets at vehicles?!?!
  7. GF Kill info Script by GEORGE FLOROS [GR] Description: GF Kill info Script , 3 types of notification available. 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 Kill info 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 , 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: This killfeed script , has 3 types of notification available. The notifications will display , only when a player is killed. For AI kills display there is available this script : GF Headshot + Killfeed Script 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=40259 Armaholic GF Kill info Script
  8. Just to place this into context - i made a mission where the players will be supported by some cruise missile fire, fired by the AI. There are 3 different targets, and 3 different MK41 VLS launch pads firing at each their target. I found this script/code and its been working very "on/off". It works every time in singleplayer, but only "occational" in multiplayer on a dedicated server - so im approachig you guys, the mighty Arma 3 oracle, to see if you guys can help me improve this code so that it'll work more predictably and reliably on dedicated servers too. This is the code im using: ------------------------------------------------ // This is the script I'm using in an .sqf ------------------------------------------------ west reportRemoteTarget [HAA1_0, 3000]; HAA1_0 confirmSensorTarget [west, true]; west reportRemoteTarget [T2, 3000]; T2 confirmSensorTarget [west, true]; west reportRemoteTarget [T1, 3000]; T1 confirmSensorTarget [west, true]; Cruise1 fireAtTarget [HAA1_0, "weapon_vls_01"]; Cruise2 fireAtTarget [T2, "weapon_vls_01"]; Cruise3 fireAtTarget [T1, "weapon_vls_01"]; ------------------------------------------------ // This is basically the information provided for each launcher ------------------------------------------------ west reportRemoteTarget [HAA1_0, 3000]; HAA1_0 confirmSensorTarget [west, true]; Cruise1 fireAtTarget [HAA1_0, "weapon_vls_01"]; While developing the mission, i do my fair share of testing on a dedicated server - first time i tried it, all 3 missiles fires and hits their targets. Next time i did some changes to the mission, although nothing to the settings of the targets/missiles or script - suddenly all 3 missiles fires, but 1 goes straight up - while 2 hit their target. And ofc, during the offical playthrough of the mission with my Arma 3 group, all 3 missiles fires but all 3 goes straight up and none of them seemingly targeting their targets. This was mildly put rather annoying. So in short, if any of you script-wizzes know how to help me out with this to have it work more predictably and reliably on a dedicated server it would be absolutely epic, and much appreciated.
  9. Hey all, back here with a question. I am looking for a way to get access to some variables which have the same name with an increasing numerical suffix. I tried to do something like this but to no avail // Trying to get access to objects named (in the editor) obj0, obj1, obj2, obj3, etc. private _maxIdx = 4; // I get this from somewhere else but I define it here for completeness // Increase an index for[{private _i = _0}, {_i < _maxIdx}, {_i = _i + 1}] do { // Create the name of the variable private _var = "obj" + (str _i); // Parse the name of the variable as a string _var = call (compile _var); // Get the object variable // Get the position of the object _secPos set[_i, getPosATL _var]; // Get the position of the object placed in the sector // Delete the object placed at the sector objective deleteVehicle _var; }; This doesn't seem to work. The only evidence I have (haven't done the testing myself unfortunately) is that the objects (obj0, obj1, obj2, etc.) are not deleted in the editor. Any ideas or insights are most welcome :).
  10. Hello all, I hope you are doing well. I am looking for a way to find out if a side is hostile towards a unit. I am getting some units in an area with inAreaArray and from those, I pick (or count) only the ones that are on the same side as the unit of interest. I have tried to "subtract" those two arrays in order to get what's left of the original array (the one returned by inAreaArray) but in this way, I also get civilians and possibly independent which may or may not be hostile to the unit of interest (the unit's side is not predefined). So, the question is... Do you smart ArmA forum's people have any bright idea of how I could solve the problem (I kinda see something EXTREMELY simple coming and this will be funny 8D).
  11. Simple Bomb Defuse [script] - v1.2.2 Description: Idea was to create simple "mini-game" / "chalenge" when defusing bombs in game, where unit have little time to think and create space for errors. With this script you can add possibility to "screw something" when deactivating mines. Script randomly generate string of 3 color matrix, where unit must identify which color have most appearances in matrix and cut that color wire accordingly. You can stress out unit with timer you set for deactivating the bomb. If unit cut wrong wire or timer runs out, then bomb will explode. Best object to make bomb is burning barrel, but you can use any object, just need to modify little attached objects. I added C4 and light and beeping sound to improve finding bomb in dark. Bomb can be defused with any unit, just need to have toolkit in inventory. In future, I can modify script for demotilion class only if needed. Should be working on multiplayer / dedicated server, need more testing. Instalation: - copy folder "bomb" into your mission folder - include line #include "bomb\cfgFunctions.hpp" into your CfgFunctions class in description.ext file Example: class CfgFunctions { #include "bomb\cfgFunctions.hpp" }; Usage: - place unit in editor - place object in editor (barrel) - In object init line put null = ["object", "time", "kit", "debug"] execVM "bomb\bomb.sqf"; Example: null = [this, 10, true, false] execVM "bomb\bomb.sqf"; Configuration: "object" - object to transform to bomb, default: this "time" - time in seconds for bomb defuse, default: 10 "kit" - boolean value if needed tools to defuse bomb, default: true "debug" - boolean value if need show right wire to cut, default: false Settings: open file ../bomb/settings.sqf in bomb folder where you can change internal settings of script. _choices - array of choices to cut wires, more choices will have more colors to cut, default: red, green, blue _explosion - change classname of explosion, possible values in comments _matrix - show size of maxtrix with colors, default: big _expertMultiplier - if expert is defusing bomb, unit will have more time to defuse bomb, default: 2 (time * 2x) _disableAce3 - disable/enable ACE3 interaction menu Features: - friendly hint with instructions - hint is showing only to defuser - ace3 support - JIP friendly - multiplayer / dedicated server friendly - easy installation - plug & play system - specialist have more time to defuse bomb - custom time for specialist - defusing bomb with ToolKit or DefusalKit - random generation of matrix - custom size of matrix - custom choices (number of wires) - beeping sound - blinking light Planned: - dialog for cutting wires - cutting wires in right order - when wrong cut, timer will accelerate - "slippery hands" ( this is where I move toolkit from unit inventory and spawn it next to him, as he can't cut wires when he dont have toolkit) - probability of second wiring ( first wiring is dummy ) Changelog: v1.2.2 - prevent attaching objects and sounds to object if class is not Land_MetalBarrel_F v1.2.1 - added new config parameter "_disableAce3" to disable ACE3 interaction menu v1.2 - reformat to functions - added multiplayer / dedicated server support (tested) - JIP friendly (tested) - hint showing to only defuser (tested) - battle-tested in real environment - changed to "plug & play" system - added settings.sqf file - added readme.txt file for instructions - cleaned code v1.1 - added ace3 support - added customizable explosion size - added customizable size of maxtrix - added more wires (custom) - specialist have more time to defuse bomb - custom time for specialist (default 2x time) - custom internal settings - added documentation - added simple mission for test v1.0 - public release License: Use it for public, non monetized purposes only. If you have modifications, use pull request in git repo. Will revise/include them in script. Disclaimer: Do not incorporate this script or portions of it in monetized products or servers without asking for permission and obtaining approval from me! Credits: Larrow - fix for c4 attachment MILHAUS_CZ - testing JIP and DEDI Issues: - please use issue tracker - hint showing to every player - not damaging player with ace3 Download: https://bitbucket.org/mikehudak/a3_bomb.vr http://www.armaholic.com/page.php?id=31817 Preview: Media:
  12. Hey there, I'm trying to get an object to provide a whitelisted player with the option to purchase ammunition once in close proximity. So far, I've written the following into the object's init: if (getPlayerUID player in _UIDList) then { this addAction ["Buy STANAG mag $100","purchasestanag.sqf"]}; The mentioned _UIDList simply reads as follows under init.sqf: _UIDList=["76561198090900291"]; Is there something crucial I'm forgetting to include? I'm very fresh to coding, so do excuse my ignorance. Any pointers are much appreciated.
  13. Good day, I am currently at a dead end of the MP mission I am trying to create for my unit, solely with ALiVE modules, I don't really use any MCC features but just wanted to leave it loaded in case I need to create a scenario while the mission is running. I wanted to add specific vehicle cargo (custom loadout) in a medevac vehicle(RHS Asset), such as ace medical items. So our medics can replenish their inventory from the vehicle. I did this by adding this in the vehicle's init field: In addition I also added scripts on some vehicles and units init field to assign as ALiVE Combat Support so that ALiVE would work with VCOM accordingly, I followed this steps from ALiVE's FAQ site. I followed what's in the red box: But when I start the mission, the mission loads twice and respawns the vehicles rendering all the scripts I've put useless. I can't figure out how to stop the vehicles from respawning when the mission loads the second time or to have the script run at a specific time so it would execute once the mission finishes loading "Completely". Here's a 5 min. video to show what I am trying to do. https://youtu.be/3nxOfavKnBY TIA! PS: I don't know how to title this since I'm not exactly sure what's happening to name it properly. So my apologies if it's misleading.
  14. so on my units server we are running a clean up script, due to the lack of mass graves and body piles withing arma we are trying to a manual mass grave but due to the clean up script it stops that from happening is there away to stop that script running on certain objects?
  15. The latest version of the Simple Radar Warning System, Functions, Vehicle init (for automatic system arm), Player manual system switch, Configurable function call, Fly safely and... Have fun! File Download (Drive) *Original Post*
  16. So I'm trying to test out the kbtell command to use dialogue in missions, but I've hit a wall. Everything appears to be working, I'm not getting any errors, but the first subtitles play, the sound doesn't, and nothing else happens. bikb file script file Is there something I'm doing wrong? Thanks in advance.
  17. I have rental dedi arma 3 server and i have INIDBI2 for save system on it. Right now there is a save game button in the game screen, but i want to get it on the pause menu save game button, the button is grey now. Button i have right now is scripted like this: "initplayerlocal.sqf" Player addAction ["<t color=`#38BAFF`>Save Game</t>", {[] call UN_savedata;}]; How can i script it in the onpause menu "save game" button? I find this link, but i don`t get it work
  18. Dear follow Arma addicts, can anyone point me towards a performance conscious script for: 1) Replacing all the non tracer ammunition from both player and ai with tracer ammunition, both at their weapons and inventories. 2) I believe tracer ammunition effects only happens when the magazine is almost empty. Is there any way to make every round have (or simulate) tracer effects? Basically I want to simulate old school battlefield games (BF2, BF3) were all rounds have tracer like effects that help players identify the origin and location that fire is coming from. (I need to up the feedback and gameplay friendliness of my mission while compromising some realism). Thank you in advanced!
  19. I've been tinkering with values of a mod that my Milsim unit uses. With all the mods we have somewhere along the pipeline has overly increased and made more realistic A.I. in which they also have more health but the weapons we use our simulated extremely well. The problem is the mod we use for our mortar damage range just isn't realistic and a direct impact may kill a single person on a group of 20 with no armor on. I wrote a script similar to what I'm doing here but with RHS and updated the weapon damage values just by using CfgPatches and I'm trying to do the exact same thing here but they named their ammo with a "( )" in it. Which upon compiling the addon doesn't allow it to continue as it returns an error along the lines of [line 13 expected = received "("] does anyone know a workaround or how to get this to work properly? TL:DR - Can't update damage of an ammo type because the class name has a symbol in it that the addon builder assumes is apart of the code rather than just being apart of the name. VZ99 CfgAmmo.hpp My CfgPatches in a separate addon I'm creating giving me the error. (Only editing the HE and HE_Multi ammo) As far as I can determine the issue is that the class name having ( ) is the issue but I can't edit the original addon CfgAmmo due to their licensing. If anyone knows a solution I'm open to anything.
  20. Hi, I want to remove this GPS cross from the map which is showing while the player is in an aircraft. I want a map which is finally a map and not a GPS device named map.. How can I achieve that? In-game options? Script? Mod? Thanks
  21. Hi all, I'm usually just a lurker here, but I thought I'd release my dynamic spawning system seeing as I've finally got it to the point where I'm happy to hand it out to people. So, without further ado: What is it? The Dynamic Spawner is a system that dynamically spawns units with custom loadouts, faces, voices, etc. This can add variety to your missions by giving you the ability to create factions that normally don't exist in the game - WITHOUT needing extra mods (other than gear/weapons if you want modded ones). Handy for public servers that want to avoid using mods, or for groups who want to have special factions for their scenarios without needing entire mods for new factions. How do I use it? 1. Unzip the files into your mission file, and add the following to your init.sqf: 0 = execVM "SyDynSpawn\DynamicSpawnerInit.sqf"; 2. Place down units in your mission (disable their simulation/model/etc) and give them the custom loadout you want. 3. Give the leaders of the groups relevant names. 4. Insert the names of the group leaders, and classnames of vehicles into the factions.sqf (check attached readme for details on how to do that) 5. Place down Game Logics where you want to spawn units and follow instructions in the readme file to set them up to spawn how you want. Example Mission here: https://www.mediafire.com/file/f3749dpf4uu81ld/Dynspawn_Example.Stratis.zip What does it not do yet? I've added base elements for CAS and Helicopter reinforcements, but haven't implemented a spawner for them yet. This will be added in future. Where do I get it? Here: http://www.mediafire.com/file/nb01br9o3pu9p3v/SyDynSpawn.zip Anyways, let me know if you find bugs or have questions/suggestions for future features.
  22. Last content update: 6/13/2018 showing how to use the radius for addAction, using params instead of select, adding to arrays with various commands, altering arrays with various commands, get/setUnitLoadout Last content update: 6/10/2018 going through config files and getting details to sort what you want, using radius with addAction, params, and altering arrays with resize, pushBack, pushBackUnique, set, and append and going over to assist with resize count. Last content update: 5/27/2018 added GUI tutorial for how to make a weapon selector using cfgWeapon Last content update: 5/24/2018 added sector control tutorial Last content update: 5/21/2018 This is my arma 3 scripting tutorial series which is aimed to help both people getting into making their own scripts with fairly detailed simple tutorials as well as for the intermediate person looking to create their own features for their missions. The plans for this series is to almost fully cover everything behind the arma 3 missions that people play on a daily basis and have enough content provided in the videos where people can go off and make their own vision for their mission with the knowledge gained. Most of these videos are made on the fly at 1AM-4AM without any pretesting which should give someone the idea of what goes into finding syntax errors and narrowing down a bug that's causing your feature to not function properly. It is also an excuse for you to cut me some slack if you see mistakes :) . A lot of these tutorials are made with multiplayer in mind since I think most people want to play their missions online with their friends(which is why publicVariable has been utilized so much so new people can get a good grasp on the power those commands have). New videos are added to the playlist almost every day so if your stuck with something, maybe it has been covered in a video. If you have any requests on what you would like to see made then please suggest it here. topics covered so far Scripting tutorial playlist Database tutorials with INIDBI2 playlist GUI/Dialog tutorials playlist
  23. Here is a super simple script for animating lip movement for an AI unit for specified # of seconds. Script: Here is some sample usage code, where two different units talk with each other. In this example the valdez character says a sound file that is about 5 seconds long, and the paramedic1 character says a sound file that is 2.6 seconds long. // ************************************************************** [valdez, 5] call JBOY_Lip; valdez customRadio [JBOY_Channel,"hvTempHospital"]; //valdez globalchat "Hey Zeke. When are they going to build the new hospital? This temporary one is a dump."; sleep 5; // ************************************************************** [paramedic1, 2.6] call JBOY_Lip; paramedic1 customRadio [JBOY_Channel,"hParaCutOffFunding"]; //paramedic1 globalchat "Maybe never. Madagascar has cut off the funding."; sleep 3;
  24. Guys I have this hold action set up to revive downed team mates. My issues are: 1) How can I reduce the completion time if the caller is a medic? 2) Can I cancel the holdAction with a hint if the caller has no FirstAidKits? (I want the hold action to show even if the caller does not have the firsAidKit, I just want the hold action to exit with a hint, would if ((({""FirstAidKit"" == _x} count (items _caller))<1)) exitWith {hint "You need a firstAidKit";} work inside the conditionProgress field? Thank you!
  25. Hello, community. Here is what I want to achieve: - I want to combine 3 different animations into one; - the player should be able to play these 3 animations sequentially; QUESTION 1: Should these animations be united as one and used all together in one script or QUESTION 2: Perhaps they could be used individually with a “wait until” command between them, so the script “should wait” until the first one is completed in order to perform the second one and when it is over, the third one will be played as well. ANIMATIONS: 1. The player waking up being wounded and then stands up after X seconds. 2. The player then looks around like in another script we already well know where he can set up a camp, sleep and then wake up in X hours. 3. The player then moves along an invisible way with his weapon in his right hand like in a cinematic intro. I have reworked this last animation’s content making it stop functioning when: player distance obj1 <X. This means I need to stop all these animations, when they are completed, with this part above, used in a trigger’s “On Activation” field. Animations: Nr. 1 - should be put in player’s init field: [this, "PRONE_INJURED"] call BIS_fnc_ambientAnim; 0 = this spawn {waitUntil {time > 10}; _this call BIS_fnc_ambientAnim__terminate; _this switchMove "AinjPpneMstpSnonWnonDnon_rolltofront";_this playMove "AmovPknlMstpSnonWnonDnon"}; Nr. 2 - should be activated by: player addAction ["<t color=""#F8FF24"">" +format["Set Up Camp"],"Camp_Script\spawn.sqf"]; Here you can find the files for this script: http://www.armaholic.com/page.php?id=28555 Nr. 3 - in a trigger or in playerinit.sqf: player disableAI "move";_nul = [] spawn {player switchMove "Acts_PercMwlkSlowWrflDf2";player disableAI "ANIM";waitUntil{(player distance target1) < 8};player switchMove "";}; [1, 60,true,true] call BIS_fnc_cinemaBorder; - target1 one is the object that the player needs to reach and when he does, the animation stops working. So, friends, how can we combine these 3 animations into one? Thank you in advance! Happy scripting and cheers!
×