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


    • Vigor
    • DAYZ
    • ARMA 3
    • ARMA 2
    • YLANDS
    • ARGO
  • 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
  • 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

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL


Jabber (xmpp)








Steam url id







PlayStation PSN














Found 551 results

  1. Toni's Barrier Menu v1.0 Alpha Q: What is it? A: It is a Small script contained within an Addon that allows users to spawn barriers. Its good for anything from Milsim to Roleplay to just messing around in the Editor. Q: Didn't Someone Already Make a Script Similar to this? A: Yes, Warnerm14 did for Altis Life Framework but his was based on AddActions. Mine is A full GUI based solution and its modular (Can be used as a standalone addon or ported into a mission framework) Features: Inventory button for easy access, Simple to use GUI, Fully customizable, Portable to a mission file if the addon is not what you need. Download/View Source Code From Github Download From Google Drive Lemme know what you all think and feel free to leave a reply with opinions. Please Report issues on Github! :)
  2. I've been fighting with this script for a couple of days now, I've searched every resource I can find and I can't figure out why the "HOOK" AND "UNHOOK" waypoints won't work. Unfortunately the waypoints sections of the wiki are oddly empty on any information regarding these two waypoints. The idea of the script was so that instead of having all kinds of vehicles at the beginning of my mission I could save some frame rate have players request a vehicle and it would be lifted and dropped off at designated locations. I did get it working where the helo would fly to the area and just drop the vehicle from the standard 100 meter flight height, but it just looks terrible and would always drop about 100 meters or so before it actually got to the marker. So what I really need is to figure out how to either get the helicopter to go exactly to the waypoint and not decide 100 meters away is close enough, or to actually get the "HOOK"/"UNHOOK" way points to work the way they do in the Eden editor. AL_FNC_REQARMYJEEP = { private ["_JEEP","_LIFTER","_LIFTERGROUP", "_POS1", "_POS2", "POS3"]; //sleep 20; _JEEP = createVehicle ["I_C_Offroad_02_unarmed_F",[(getMarkerPos "ARMYliftable" select 0),(getMarkerPos "ARMYliftable" select 1),(getMarkerPos "ARMYliftable" select 2)],[],0,"Can_Collide"]; [_JEEP,["Olive",1],["hideLeftDoor",1,"hideRightDoor",1,"hideFenders",1,"hideHeadSupportRear",1,"hideSpareWheel",1]] call BIS_fnc_initVehicle; //SLING LOAD HELO AND WAYPOINTS. _LIFTER = createVehicle ["B_Heli_Transport_03_F",[(getMarkerPos "ARMYlifter" select 0),(getMarkerPos "ARMYlifter" select 1),(getMarkerPos "ARMYlifter" select 2)+100],[],0,"FLY"]; [_LIFTER,["Green",1],["Minigun",0.333333,"Minigun2",0.333333,"AddCargoHook_COver",0]] call BIS_fnc_initVehicle; createVehicleCrew _LIFTER; _Sling = _LIFTER setSlingLoad _JEEP; AJEEPLIFTER = _LIFTER; AJEEPLIFTERGROUP = GROUP (DRIVER AJEEPLIFTER); _POS1 = (getMarkerPos "ARMYDELIVERLIFTED"); _POS2 = (getMarkerPos "ARMYDELETELIFTED"); _POS3 = (getMarkerPos "PREPARETOLAND"); _WP0 = AJEEPLIFTERGROUP ADDWAYPOINT [_POS3, 0]; _WP0 setWPPos [(getMarkerPos "PREPARETOLAND" SELECT 0),(getMarkerPos "PREPARETOLAND" SELECT 1), (getMarkerPos "PREPARETOLAND" select 2)]; _WP0 setWaypointType "MOVE"; _WP0 setWaypointSpeed "NORMAL"; _WP0 setWaypointBehaviour "CARELESS"; _WP0 setWaypointCombatMode "GREEN"; _wp0 setWaypointStatements ["true", "AJEEPLIFTER flyInHeight 12;"]; _WP1 = AJEEPLIFTERGROUP addWaypoint [_POS1,1]; _WP1 setWPPos [(getMarkerPos "ARMYDELIVERLIFTED" SELECT 0),(getMarkerPos "ARMYDELIVERLIFTED" SELECT 1),(getMarkerPos "ARMYDELIVERLIFTED" select 2)]; _WP1 waypointAttachObject ARMYDELIVERLIFTED; _wp1 setWaypointType "UNHOOK"; _WP1 setWaypointSpeed "LIMITED"; _WP1 setWaypointBehaviour "CARELESS"; _WP1 setWaypointCombatMode "GREEN"; _wp1 setWaypointTimeout [20, 20, 20]; _wp1 setWaypointStatements ["true", "_Sling1 = AJEEPLIFTER setSlingLoad objNull;"]; _wp2 = AJEEPLIFTERGROUP addWaypoint [(getMarkerPos "ARMYdeletelifted"),0]; _wp2 setWaypointType "MOVE"; _WP2 setWaypointBehaviour "CARELESS"; _WP2 setWaypointCombatMode "GREEN"; _wp2 setWaypointStatements ["true", "{deleteVehicle _x;}forEach crew AJEEPLIFTER;deleteVehicle AJEEPLIFTER;"]; }; I gave up on hook and used set slingload to have the jeep just automatically hook to the bottom of the helicopter, but then the unhook wouldn't work. I've fought with trying to get the helicopter to just "MOVE" to the location and then fly in height, but it refuses to go to the exact location of the markers, then it will lower heights at _wp1 it goes pretty much anywhere it wants around my markers but never on my markers. it always stops somewhere around 100 meters short or too far. so when I setslingload objnull it drops too far away from where its supposed to be delivered. I can't wrap my head around why placed in the editor waypoints work just fine, but when I try to script it everything just falls apart. Any help would be GREATLY appreciated.
  3. Just wanted to post this script in case it's helpful for people. For our Arma 3 Linux server (headless) we use: LinuxGSM - for Arma 3 server startup and updating Arma3Sync - for providing delta diffs of mods Apache - for serving up mod files Steam - for updating Arma 3 server and downloading mods from the workshop I wrote a little Python script that automates the updating of mods via Steam workshop, copies keys, updates mods via Arma3Sync and then restarts the server all via the command-line. No more manually downloading and extracting files! If you have suggestions or improvements, feel free to fork the file or post here.
  4. I am having some trouble with the hintC function and navigating some of its quirks. Here are the scripting requirements for the text I need to display to the user. 1. Must be structured text 2. Must prompt the user to click to continue 3. Must be able to display messages back-to-back (after each click to continue)_ Trying to keep the issue pure, here is the essence of what I am trying to do: //call function to show all course results _action1 = player addAction ["View Completed Courses", "functions\fn_NAV_adminReport.sqf",1]; [fn_NAV_adminReport.sqf] _allCourses = [_course1, _course2, _course3,..._courseN]; //each _course is a TEXT object (i.e structured text) for "_i" from 1 to count _allCourses do { // if there are syntax errors here its because i wrote it in this editor...its the concept that matters "myTitle" hintC parseText _myArray[_i-1]; sleep .1; }; The issue is that only the first hint displays. I use sleep .1 following Worldeater's advice on the BSwiki HintC page...but doesn't work. This also happens with something as simple as this: "title" hintC "FIrst"; sleep 1.5; "title" hintC "Second"; as well as the alternative version (I can't use this version as it doesn't accept structured text): hintC "FIrst"; sleep .1; hintC "Second"; Any advice on how to make hintC display back-to-back or any alternative methods I can use to accomplish my objectives?
  5. hi guys ! i've found an awesome script to enable dual primary weapons, that works really good, but has a little problem i noticed only after hours of play. here the script: ...at start it works perfectly, i can die & respawn, go on vehicles or on foot, do everything and it works perfectly. BUT.....after maybe 20 minutes i noticed my "weapon on back" was gone, and script bugged (doesnt asked me to put my weapon on back, as usually. from that day, it happened many other times, in fact i never noticed when the weapon disappear exactly, i just notice it only when i try to switch to my back weapon after many play time. i've tracked down the problem standing still with a "weapon on back" for a long time, and seems it disappear at some point, removing the weapon model and the actions to "take weapon back" or "put weapon on back". i'm pretty sure the problem is the loop that stop working, or maybe something to do with game auto-cleaner removing unused objects. any idea? thanks !
  6. So, i'm pretty new in the Arma 3 Mission edeting and scripting, or at least for Multiplayer. My problem is, that in my Singleplayer Missions i could just use BIS_fnc_typeText2 and everything worked just fine, but now I'm trying to do this and other Stuff like Hints etc. in a Multiplayer Mission, but it only is Shown to Host or when i put it on my Linux Root Server, to no one. All the triggers Work just how I want them to, New Tasks get Assigned and everything that has to be done by Server (like let NPC eject via script and stuff like this) work also. Only Issue I have is that Hint's and BIS_fnc_typeText2 etc. are not shown to the Players except host if launched local. What i did is Adding eventhandlers that get active if you kill the Guy you have to Start the Actual Mission. this addEventHandler ["killed", {[] exec "Missionflow.sqs"}]; The Code below is executed, but hints and Stuff is only shown to host. <Missionflow.sqs> [[["Bluefor", "align = 'center' size = '0.7'", "#0000FF"], ["", "<br/>"], ["Im Anflug für ''Para-Drop''", "align = 'center' size = '1.0'"]]] spawn BIS_fnc_typeText2; ~30 [[["OPFOR", "align = 'center' size = '0.7'", "#FF0000"], ["", "<br/>"], ["Im Gebiet", "align = 'center' size = '1.0'"]]] spawn BIS_fnc_typeText2; ~110 [[["WARNUNG", "align = 'center' size = '0.7'", "#FF0000"], ["", "<br/>"], ["Jets im Anflug", "align = 'center' size = '1.0'"]]] spawn BIS_fnc_typeText2; ~120 [[["EVAC", "align = 'center' size = '0.7'", "#FF0000"], ["", "<br/>"], ["Ist unterwegs", "align = 'center' size = '1.0'"]]] spawn BIS_fnc_typeText2; hintSilent "Achten sie auf Feinde"; And all this is only shown to Host, i dont know what to do about this, how am I getting this to work in Multiplayer so all are seeing this. What I also tried is giving the Playable Characters Variable Names (a to d) and then did this: this addEventHandler ["killed", {[a] exec "Missionflow.sqs"}]; this addEventHandler ["killed", {[b] exec "Missionflow.sqs"}]; this addEventHandler ["killed", {[c] exec "Missionflow.sqs"}]; this addEventHandler ["killed", {[d] exec "Missionflow.sqs"}]; I also tried adding a trigger and set Trigger owner to the Guy you have to kill, and set Activation on not Present, which works for ingame modules to become active very good for me. And in "On Activation" i put: [] exec "Missionflow.sqs"; // and also again with the Player Variables [a] exec "Missionflow.sqs"; [b] exec "Missionflow.sqs"; [c] exec "Missionflow.sqs"; [d] exec "Missionflow.sqs"; Hope someone can Help me, didn't found anything that seems to work for me so I'm asking here now.
  7. Can someone help me with this. I'm Kinda new to the whole sound mod but am interested, I have no idea but gotten this far and im just Confused on how to proceed from this point on how i can even get sound through. if someone could help me Thank you. the export for the file is .wss mono out of a pcm 16bit mono wave file. the script is in a config.cpp file. class CfgPatches { class mx { units[]={}; weapons[]={}; requiredVersion=0.1; requiredAddons[]= { "A3_Data_F", "A3_Sounds_F", "A3_Weapons_F" }; version="1"; author="cheif22"; }; }; class CfgSoundShaders { class MX_Closure_SoundShader { samples[]= { { "\mx\shots\closure1", 1 }, { "\mx\shots\closure2", 1 } }; volume=0.17782794; range=5; }; class MX_closeShot_SoundShader { samples[]= { { "\mx\shot\closeshot1", 1 }, { "\mx\shot\closeshot2", 1 }, { "\mx\shot\closeshot3", 1 } }; volume=1; range=50; rangeCurve="closeShotCurve"; }; class MX_midShot_SoundShader { samples[]= { { "\mx\shot\midshot1", 1 }, { "\mx\shot\midshot2", 1 }, { "\mx\shot\midshot3", 1 } }; volume=0.79432821; range=1800; rangeCurve[]= { {0,0.2}, {50,1}, {300,0}, {1800,0} }; }; class MX_distShot_SoundShader { samples[]= { { "\mx\shot\distshot1", 1 }, { "\mx\shot\distshot3", 1 }, { "\mx\shot\distshot3", 1 } }; volume=1; range=1800; rangeCurve[]= { {0,0}, {50,0}, {300,1}, {1800,1} }; }; };
  8. Hi, I wanted to use in my code something like this: if (damage x > 0) then {//code }; But seems like it doesn't work like that, someone could explain?
  9. Hello, everyone! Basically, what I want to do is to damage vehicle's chasis (hull) and engine after x roadkills (let's say the count will be 15). I want to prevent player from using it as a ramming device. If this is going to help you out somehow, the vehicle name would be SUV, and the enemy is OPFOR side. Thank you all in advance for replies!
  10. Hi all! I have this simple script of fuel consumption working in EDEN editor pretty well: _veh = vehicle player; _rate = 0.003 ; _loadMultiplier = 0.003 ; _tooSlowRate = 0.004 ; _tooFastRate = 0.008 ; _speedMult = 0; while {true} do { if ((alive _veh) and (_veh != player) and (isengineon _veh) and ((fuel _veh) > 0)) then { _crew = count( crew _veh); _load = _crew * _loadMultiplier; _speed = speed _veh; if(_speed < 30 ) then { _speedMult = _tooSlowRate; }; if(_speed > 90 ) then { _speedMult = _tooFastRate; }; _realLoad = _rate + _load + _speedMult; _veh setFuel ( (fuel _veh) - _realLoad); }; sleep 5; }; But it's not work on dedi server(( Can anyone help with this? P.S. Server mod: AltisLife 4.4r4, if it mean something... Tryed both - server and client sides...
  11. Hi, i need to know if i can detect what player is executing the script, and then depending of the name of the player send it to the box. thanks for support!!! _fnc_group = [["player_1", box_1], ["player_2", box_2]]; _fnc_select = (_fnc_group select 0) select 1; if (cash< 100) then { hint "no money to buy this!" } else { cash = cash - 100; _fnc_select addWeaponCargoGlobal ["rhs_weap_m4a1_blockII_bk", 1]; _fnc_select addMagazineCargoGlobal ["rhs_mag_30Rnd_556x45_Mk318_Stanag", 1]; hintSilent parseText format["<t color='#00FF3C'>thanks for for you buy</t>"]; };
  12. Hello everyone. I am trying to make a small minigames to play with my friends. The gamemode is pretty much the same as battle royal. A FFA arena where you have to kill everyone, and stay in the zone that is shrinking constantly. I got everything working now except for the triggers. My script is creating 2 triggers at the same place. The first trigger is getting activated when "ANY PLAYER" is "NOT PRESENT". It will then give you a hint that you should return to the zone in 10 seconds. The second trigger is getting activated when "ANY PLAYER" is "NOT PRESENT". It will then kill the player if he is out the zone and the "TIMEOUT" has reached 10 seconds. When testing this with my friend I found out that it is working correctly for me, but not for my friend. The triggers doesn't affect him. Could anyone please help me out? trg1 = createTrigger ["EmptyDetector", getMarkerPos "Marker1"]; trg1 setTriggerArea [500, 500, 0, false]; trg1 setTriggerActivation ["ANYPLAYER", "NOT PRESENT", true]; trg1 setTriggerStatements ["this", "hint 'You have 10 seconds to get back in the zone!'", "hint ''"]; trg1kill = createTrigger ["EmptyDetector", getMarkerPos "Marker1"]; trg1kill setTriggerArea [500, 500, 0, false]; trg1kill setTriggerTimeout [10, 10, 10, true]; trg1kill setTriggerActivation ["ANYPLAYER", "NOT PRESENT", true]; trg1kill setTriggerStatements ["this", "player setDamage 1", ""];
  13. onUnsignedData = "kick (_this select 0)"; // unsigned data detected This is what I use to kick players who do not have the right signatures. However, they are shown this when they are kicked: "You were kicked from the server." How do I change that message to "You do not have the right signatures" ?
  14. Hello, I'm trying to learn the way A3 does conversations, so I took one of their missions and started looking all... well I could get a lot of it but I got lost at some point, with the BIS_fnc_missionConversations and BIS_fnc_kbTell. Well, I know that to use BIS_fnc_missionConversations I need the missionConversations.sqf and to use BIS_fnc_kbTell I need class CfgSentences in Description.ext. but I've seen that in the mission I'm looking there is any trace of cfgSentences, I thought maybe through a .xml, but I didn't see any mentioning or any localize about this. Another example, the function Bis_playAllConversations defined in functions.sqf, directly uses sentences without any trace of a localize or stringtable.xml... I thought from the start that maybe the link with a maybe existing sentence in stringtable.xml (he he, I already have this but maybe misspelled something) is the "Showcase_Helicopter" string, because in BIS_fnc_kbTell, the second argument is: "_this select 1 (Optional): STRING - container name (default: current mission ID)" So, if this is the link with a container in a stringtable.xml how I can do the same thing? Here is my try: (for now it's almost a copy just for learning from the original) missionConversations.sqf: #define BASE Elca_AirBase #define PILOT Elca_player case "INTRO": { sleep 1; ["01_Intro","CTRG_Pilot",nil,"side"] call bis_fnc_kbTell; }; my stringtable container: And in some other place, "["INTRO"] spawn BIS_fnc_missionConversations;" but it gives me error: Class "CTRG_Pilot" not found in Cfgsentences. Don't mind about the texts nor the translations, it's not yet finished and it's only for testing :D
  15. Hello, I'm doing a mission where there is an empty UAV (that new badass helicopter :D) and in case it's needed, I have a script that creates a crew, set a combat mode and the skill of the helo, but I can't get the uav the follow me... It's a transport helicopter mission so it's here to "defend" me. The actual script: _drone = d1; createVehicleCrew _drone; _drone setCombatMode "RED"; _drone setskill 1; while {alive _drone} do { _drone move getpos player; // _wp = group _drone addWaypoint [position h1, 0]; // _wp setWaypointType "LOITER"; // _wp setWaypointLoiterType "CIRCLE_L"; // _wp setWaypointLoiterRadius 100; sleep 2; }; The _wp variable it's something I've tried that didn't worked neither...
  16. class textureSources { class LOGISTIC { displayName="LOGISTIC"; author="BSherb"; textures[]= { "LogisticChinook\skins\Heli_Transport_03_VSS.paa", "LogisticChinook\skins\Heli_Transport2_03_VSS.paa", "LogisticChinook\skins\Heli_Transport3_03_VSS_Glass.paa" }; factions[]= { "BLU_F" }; }; }; So, in this case, I'm trying to replace the glass with a specific texture I have devised. However, nothing changes at all. Not even a different texture that I didn't mean to change. Instead, it seems to ignore the glass and only do the regular exterior of the Huron. Am I putting my textures in the wrong order, am I missing something crucial that prevents certain changes? (If there is a specific order things need to be in where can I find said order?)
  17. Hello chaps I'm not really good in scripting. I just started to create custom missions in Arma 3 so I need your little help. What I'm trying to do is to save the exact loadout on unit after death and respawn with same gear. can somebody tell me how to do that?
  18. I'm trying to make the superhornet plane into a VTOL by reading this: https://community.bistudio.com/wiki/A3_CfgVehicles_Plane_class_config_reference#VTOLPitchInfluence So i have added VTOL=3 in the config and it works fine, but the plane is turning really slow in hover mode so i tried: VTOLPitchInfluence=500.0; VTOLRollInfluence=500.0; VTOLYawInfluence=500.0; That should in theory make the plane turn like CRAZY. but nothing happens once I'm ingame.. I tried changing the same parameters on the Apex VTOL and it works on that one (it turns like crazy) Can someone give me some pointers on why this is? Cheers!
  19. So, i'm making a mission in which i used the Unit Capture and Unit Play functions so a pair of helicopters could land on a clearing in a dense forest, but i want it so that when they get off the chopper they head to an officer and the briefing starts, but i'm trying to setup a trigger that detects alive players but if i set it up to detect all 10 slots, then if mission is not full it wont start, so i want to know if you guys could help me, i remember it was something like: if !alive UnitName or _____ Any ideas? Thanks a lot! :)
  20. dave thompson

    Need a script

    You can write the script in an area (the prison) commands are disabled to climb and jump?
  21. Hello! I've been trying to make a script to add the ability to see in the dark. I did try to customize the colorcorrection but without any luck. Is this even possible? I can't come up with any other ideas to tackle this. Thanks in advance! PS. No, I do not want to use NVGoggles
  22. Hey guys, I have a real strange problem. I'm not sure how to describe it exactly, and what is causing it, so I don't post a script snippet yet, until you tell me what you need to see. I hope someone can point me into the right direction. I wrote a few scripts which are simply "simulating" a conversation between the player and the civilian unit. It's executed by an "addaction" command added to all civilians. Finally the conversation leads whether to some intel, like an HVT, a weapons cache or hostages, which is being marked on the map after the conversation has been ended. It works very well so far. Also these side missions are working fine. The only and very strange thing is: After finishing such a mission (i.e. destroyed a weapons cache which intel was given by a civilian via conversation), everything is fine - EXCEPT when talking to a civilian then, there's no dialog visible anymore. Lips are moving (setrandomlip true;), sometimes intel is gathered (depends on players reputation and random selection), so to say: Everything is still working - except there's no chat (between player and civilian) visible anymore! And there's NO error in the log, "show script errors" startup commandline doesn't show anything, nothing can be found inside the RPT files, just nothing! I have to mention that the dialogs are visible as long as I don't finish any of the mission from collected intel. In example: When I talk to civilian, luckily get some intel about sth (i.e. hostages somewhere), then I can talk to any civilian and the dialogs (siechat) are visible AS LONG AS I don't rescue the hostages, But as soon as the hostages are rescued, dialogs will not be shown anymore when talking to civilians. I'm really at the end of knowledge..... no error messages, no possibitlity to debug this... What could be the rason for this behavior? Thank you very much in advance!
  23. Hi, I am using a function for conversations. It's defined in CfgFunctions and called via spawn command. Now I want to archive that conversation stops if the unit (conversation partner) gets killed. The units with the conversation action are civilians, spawned dynamically via Engima's Civilians script. I could do that with: // inside attached action to all civilian units: /* ...some code... */ handle = [params] spawn createConversation; // And this in unit's eventhandler: if (not isNil {handle} and {not scriptDone handle}) then { terminate handle}; The problem is, when I want to start another conversation now with a different unit, the conversation (or better saying: the createConversation function) doesn't execute anymore. How can I make sure that the function gets executed again? As I understand, the terminate command fires when the spawned script is processed the next time by the scheduler. In my case it immediately stops the conversation when the civilian gets killed, but it seems to also terminating the next started conversation, and so on. I also tried it without the "killed" eventhandler, and instead in units callback (like init field) did this: // No conversations with dead civs waitUntil { // exit when unit gets deleted if (isNull _unit) exitWith {true}; !alive _unit; }; sleep 1; _unit removeAction talk; if (not isNil {handle} and {not scriptDone handle}) then { terminate handle}; I couldn't find anything helpful... could someone help me, please? Thx in advance
  24. Hello everyone, I've been working on Nodunit & Franze AH-64D (v1.42+ and v1.43+) for the past few months, however I got an issue which I couldn't resolve. I believe the issue is all about the ah64d_init.sqf file which is played as soon as the mission start when the aircraft spawns. The full script can be found here, as well as all the other scripts handled by the aircraft. Here is a small part of how it was coded : Of course while on SP, everything works perfectly, but as soon as you're hitting multiplayer on a dedicated server and a player does join in progress then the doors reopen and the TADS gets stowed again, while being on the middle of a flight. A friend of mine thought about using : But then most of the 3D files couldn't get loaded. Here is the full script : What I would like to achieve is to get the aircraft's doors open and the TADS stow ONCE when it is spawned. Thanks for your help.
  25. Hey everyone, I was wondering if someone could help me develop a script that would allow blufor units to only be able to enter Blufor vehicles as well as Opfor only being able to enter Opfor vehicles. I would need an array to be specific to what vehicles I would allow units to enter. I do not want the unit to be killed, just kicked out of the vehicle. Thanks, Kdubyadog556