Jump to content

Search the Community

Showing results for tags 'addaction'.



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

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

  1. 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
  2. Hi lads, so iam currently working on a Vietnam Mission for me and my Bois and i would like to be able to play some music tracks over the addaction menu, but i dont know how for the love of God how to do it. I have the tracks prepared in my description.ext which looks like that: class CfgMusic { tracks[]={}; class Vietnam { name = "Vietnam"; sound[] = {"\sound\Fortunate Son", db+0, 1.0}; }; class All right now { name = "All right now"; sound[] = {"\sound\Free - All Right Now.ogg", db+0, 1.0}; }; }; Iam wondering if that is allright and if yes how i make it that i can play the music over addaction. Thx for the help in advance.
  3. I am trying to make ACE menu "conditional", if the object is not in certain area (trigger) the menu is disabled. _veh = createVehicle ["RHS_Ka52_vvsc", (getPosATL helipad1), [], 0, "NONE"]; [_veh] call ace_rearm_fnc_makeSource; _action1 = ["Repair","Repair and Refuel","",{_target setDamage 0; _target setFuel 1;},{true}] call ace_interact_menu_fnc_createAction; [_veh, 0, ["ACE_MainActions"], _action1] call ace_interact_menu_fnc_addActionToObject; _action2 = ["Recycle","Recycle Vehicle","",{deleteVehicle _target; player addRating 2500; },{true}] call ace_interact_menu_fnc_createAction; [_veh, 0, ["ACE_MainActions"], _action2] call ace_interact_menu_fnc_addActionToObject; //the menu I want to have condition _action3 = ["Rearm","Rearm","",{_target setVehicleAmmo 1},{true}] call ace_interact_menu_fnc_createAction; [_veh, 0, ["ACE_MainActions"], _action3,{_target inArea carrier_trg}] call ace_interact_menu_fnc_addActionToObject; Any leads?
  4. Hello, everyone! I have a problem related to addAction and triggers on Dedicated servers. In my mission there is an objective where players have to go to a laptop_1 and make mines online which in turn sets the boolean isMineSet to TRUE. And I have a Trigger_1 and isMineSet is in the condition field of Trigger_1. In the activation field of Trigger_1 is this code: laptop_2 addaction["Blow it up!", { (_this select 0) removeAction(_this select 2); canBlowUp = true; }, [], 6, false, true, "", "", 5]; and in the second Trigger_2 I have canBlowUp in the condition field and I have this code in the activation: [] spawn { sleep 1; charge_1 setDamage 1; hint "Yes2!!"; sleep 1; charge_2 setDamage 1; }; and I know that boolean values get set because addAction works and the hint "Yes2!!" also works. But there is no explosion. But if I set an area for Trigger_2 and set Activation to Any Player and step into the trigger, the explosion happens I also tried this code in addAction, but it also does not work, but if I add this code to a trigger and activate it by stepping in it, it works: Laptop_2 addaction["Blow it up!", { (_this select 0) removeAction(_this select 2); null = [napalm1] execVM "AL_napalm\alias_obj_sing.sqf"; sleep 1; null = [napalm2] execVM "AL_napalm\alias_obj_sing.sqf"; sleep 1; }, [], 6, false, true, "", "", 5]; all the above mentioned code works properly when I host it as multiplayer in the editor. Does anyone have any Idea what might cause this? I appreciate your help. Thank you!
  5. Hi together, I wrote my first lil longer and complex script ready and after a longer period of try and error and hard learning phase I am the happiest guy, now 😉 For stopping and starting my script(s) while the mission I set boolean variables for stopping and continue. I have in my mind to set change this variables not every time by console, better with a easy addaction of local me Ingame. But with this im a little in struggle and not sure if it could work and if I am on the "right path". Idea: The switching of the colors from the addaction works as expected. But the code wasn't executed. Maybe you get a idea for me. Thanks a lot.
  6. hello there i have a question about show video on billbord for players who are infront of it via add action, so we create a trigger and add below code on it: vp is name of the Addaction object call{[vp, "Pakhsh", "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_search_ca.paa", "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_connect_ca.paa", "_this distance _target < 2", "_caller distance _target < 2", {}, {}, { _video = "V\reza.ogv"; _screen = namayeshgar; _screen setObjectTexture [0, _video]; [_video] remoteExec ["BIS_fnc_playVideo", ([0, -2] select isDedicated), true]; m1 setObjectTextureGlobal [0,"P\rs.jpg"]; m2 setObjectTextureGlobal [0,"P\ma.jpg"]; }, {hint "Laghve tanzim";}, [], 5, 1000, false, false, true ] remoteExec ["BIS_fnc_holdActionAdd",[0,-2] select isDedicated,true];}; when i test this code i just find it the video is just visible by who call add action and not somebody else. how i can do it for all players infront of that billbord?
  7. I can't for the life of me figure out how to set a distance condition on the 3den Enhanced add actions. I don't want players to be able to see it from miles away as long as they are scrolling. I know it should be ran on "condition show" but I don't know exactly what to put there: Any help would be much appreciated. Thanks
  8. Hey guys. I'm hoping you can help me shed some light on the selection parameter in addAction. This is what I'm trying to achieve: When approaching the object (Dual Monitor on stand) 2 actions are available. I want the actions to be fixed to each screen so when looking on the left screen only the left screen's action is available and vice versa. The object in question is the "Land_TripodScreen_01_dual_v1_F". I'm been trying to use the addAction selection parameter to do this but the actions does not want to show up. Now my primary guess is that the selection names I'm using aren't correct but I can't for the life of me figure out how to find them. The config shows hiddenSelections to be "Screen_1" and "Screen_2" and selectionNames provide the same but in lower case. I've tried HandleDamage and HitPart to no avail and I've even resorted to guessing a few variations too: screen1, monitor1, monitor_1, etc. Here's the code I'm currently running: So you guys know anything else I can try to get the selection parameter to behave. If not any ideas for a workaround? I've played with the idea of using the intersect family but, unless I've missed one, none of them return the selection. Maybe I need to go the whole hog and approximate each screen in model space and then do some fancy math to check it against the camera vector? Could be expensive for an addAction condition though. Thanks.
  9. Hi guys, I ´m having the problem with CBA_fnc_dropWeapon in MP. When a server host executes the function (included in _unit addAction), both the host and the client sees the proper action. But when the client executes the action, then CBA_fnc_dropWeapon works only for the client, but not for the server host. I have tried numerous ways like: private _odhod = [_unit, currentWeapon _unit] remoteExecCall ["CBA_fnc_dropWeapon", 0]; //for client works properly, doesn't work for server private _odhod = [_unit, currentWeapon _unit] remoteExec ["CBA_fnc_dropWeapon", 0]; // not working at all _odhod = [_unit, currentWeapon _unit] call CBA_fnc_dropWeapon; // only executer sees the action [-2, {[_unit, currentWeapon _unit] call CBA_fnc_dropWeapon}] call CBA_fnc_globalExecute; // there I should need to pass _unit variable, since I run it through CBA Extended_InitPost_EventHandlers Thanks.
  10. Is it possible to add an action to all objects through the description.ext? like? class CfgVehicles { class LIB_AmmoCrates_NoInteractive_Large { class UserActions { class CollectPoints { displayNameDefault = "Collect"; showWindow = 0; hideOnUse = 1; displayName="Collect"; position="action"; radius=0.10000; onlyForPlayer = 1; condition = true; statement = "this addAction ["Collect", {myCurator addCuratorPoints 0.15}]"; }; }; }; }; which the code doesn't work because i keep getting the (something) instead of ''' error. Anyway if its possible, i want to do this route instead of doing init code as this would mean that all objects placed by editor or Zeus would be affected.
  11. Hello everyone! I read a post by another user and felt the need to finally give back to the community. I give to you functional HEMTT Movers and SAM trailers. these 3 addActions allow players to tow and un-tow SAM trailers. Works on dedicated servers too! Semper Prorsum! Steam Workshop Demo Mission initPlayerLocal.sqf Thank you Larrow, pierremgi, and Davidoss . For me to be able to read someone's request for help and know what needs to be done before I even open notePad. Is all thanks to your tutelage. Both directly and indirectly through your extensive posts helping others. I am in your debt, thank you.
  12. Hey guys, I am looking for some help and explanation on a trigger issue that I cannot seem to find a workaround for. It is most probably me being stupid and forgetting something obvious, but I will be glad if someone explained to me what I am doing wrong. I am trying to have a trigger add three hold actions (repair, rearm, reafuel) to a specific vehicle once it enters the trigger area. It is currently set up like this: Activation: Anybody Activation Type: Present Repeatable: Yes Condition: h1 in thisList; On Activation: [ h1, "Repair", "holdAction_repair_ca.paa", "holdAction_repair_ca.paa", "_this distance _target < 8", "_caller distance _target < 8", {player playMoveNow "AinvPknlMstpSnonWnonDnon_medic3"}, {}, {h1 setDamage 0; hint "Vehicle repaired";}, {player switchMove ""}, [], 10, 0, false, false ] remoteExec ["BIS_fnc_holdActionAdd", 0, h1]; [ h1, "Rearm", "holdAction_rearm_ca.paa", "holdAction_rearm_ca.paa", "_this distance _target < 8", "_caller distance _target < 8", {player playMoveNow "AinvPknlMstpSnonWnonDnon_medic3"}, {}, {h1 setVehicleAmmo 1; hint "Vehicle rearmed";}, {player switchMove ""}, [], 10, 0, false, false ] remoteExec ["BIS_fnc_holdActionAdd", 0, h1]; [ h1, "Refuel", "holdAction_refuel_ca.paa", "holdAction_refuel_ca.paa", "_this distance _target < 8", "_caller distance _target < 8", {player playMoveNow "AinvPknlMstpSnonWnonDnon_medic3"}, {}, {h1 setFuel 1; hint "Vehicle refueled";}, {player switchMove ""}, [], 10, 0, false, false ] remoteExec ["BIS_fnc_holdActionAdd", 0, h1]; On Deactivation: removeAllActions h1; So it's pretty straightforward. The problem is, the action that gets added to the helo is added the amount of times that there are players on the server. That is, if I test it in my local MP I see them added once each (correct). If I launch the mission on a server, I see all three actions doubled (one for me and one for the server it seems), and when I entered with four other players the actions were added a total of six times each. I may be forgetting something obvious, but I just want the action to be added to the vehicle once per type (one repair, one refuel, one rearm). Otherwise once you approach the vehicle it just spewes a crap tonne of actions listed in the scroll menu. Thanks in advance for your help!
  13. Hello, everyone! I want to add a script to any kind of video players in the game - tv, laptop, phone, screen. I want to use some kind of addAction script to be able to interact with the video player and when I am done a video shall start. Would you help me with the right script? I've been searching over the net for the past few days with very small success. Thank you in advance!
  14. I created a mission in the Eden Editor and I wanted to add a little script which is going to allow me to access the virtual Arsenal in anytime I want, anywhere through the scroll wheel, and another little script which is going to disable the fatigue system and thus I could have infinite stamina. Here is the code:(the file is saved in the mission folder[Documents]) Init.sqf player addAction ["Aresenal", {["Open",true] spawn BIS_fnc_arsenal;}]; player enableFatigue False; player addEventHandler ["Respawn", {player enableFatigue false}]; So here is my problem, the script works just great in the editor when I test the mission. but when I try to host a server[not a dedicated server] It doesn't work. I'm not really good at ArmA3 scripting I'll be so happy if someone could just tell me what code should I use and where do I need to put it. I'll be happy if someone could help me, thanks...
  15. Greetings esteemed Arma scripters! I humbly come to you with a problem I'm hoping someone can solve. So, I'm working on a mod for my unit to have individual supply boxes for each unit member. The objects are available in the mission editor and are also Zeus placeable. That I've got without problems. The hangup comes in when someone crashes. When they go back to their supply box the things they previously took out are gone, because they crashed. My solution is to add "reset" addAction, which is a sqf to clear the box and then addItemCargoGlobal to refill the box. These boxes are also not local to the mission file, but are created with a pbo in the modpack. To sucessfully code it into the config.cpp I use this code in the box's cfgVehicles class: class EventHandlers: EventHandlers { init = "(_this select 0) addAction [""<t color='#ffffff'>Reset</t>"", ""\Gearboxes\scripts\frostbox.sqf"",[],1,false,true,"""",""_this distance _target < 3""];"; }; In the header of the sqf I use the following (with an example item added): if (! isServer) exitWith {}; _crate = _this select 0; clearItemCargoGlobal _crate; _crate additemcargoglobal ["acc_flashlight_pistol", 1]; All of this works as intended in local and local multiplayer. The config adds the addAction to the box and the script removes all of the items and them reloads the desired items. The issue is the box doesn't clear or reload on a dedicated server. The addAction is present but there is zero effect. The purpose of this project is to use it on a dedicated server, so it's a problem that needs solving. If I change "_this select 0" in "_crate = _this select 0;" to a variable assigned to the box then it works fine. Example "_crate = frostbox;" So I think that's the bit of code I need to change to get this to work without having to assign variables to all of the boxes and to align the sqf's to match. Anyone have an idea?
  16. 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?
  17. Script Example (which I use in my mission): [ Truck, "<t color='#58D68D'>Enganchar UH60</t>", "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_loaddevice_ca.paa", "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_loaddevice_ca.paa", "(_this distance _target < 3) && (Truck_Bar distance Heli_1 < 10)", "(_Caller distance _target < 3) && (Truck_Bar distance Heli_1 < 10)", {}, {}, { null = ["Scripts\Interacciones\Remolcador\Soltar_Heli_1.sqf","BIS_fnc_execVM",false,false] spawn BIS_fnc_MP; [Truck,_actionId] call BIS_fnc_holdActionRemove; }, {}, [], 5, 6, true, false ] remoteExec ["BIS_fnc_holdActionAdd", 0, Truck]; ____________________________________________________________________________________________________________________ When I put this Script in my Init.sqf file, one appears every time a player joins my dedicated server. Is there a way to fix that? the problem is where do I put my script? or is it a typical Arma 3 problem?
  18. 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.
  19. 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!
  20. Hello, I open this thread so that people who search for it on the Internet can find it easier than I do. I have solved this with the help of the people who were in the Slack of the ACE (special mention to Schwaggot). 1. It have to be executed from an Addon (or at least it is the only way it worked for me) 2. Code executed from my addon config.cpp class ace_medical_treatment_actions { class Diagnose; class ExecuteMyCode: Diagnose { displayName = "EXECUTE MY CODE"; displayNameProgress = "EXECUTE MY CODE"; items[] = {}; category = "examine"; allowedSelections[] = {"All"}; allowSelfTreatment = 1; treatmentTime = 3; callbackSuccess = "true"; callbackFailure = ""; callbackProgress = ""; condition = "true"; itemConsumed = 0; litter[] = {}; }; }; Spyke.
  21. And the second issue that came up with the one mission was this: this addaction ["Pickup Key","Scripts\PickupKey.sqf"]; the above resulted in 4 actions appearing on the object. 4 were the players 4 were the actions. So if I place the above code in a trigger that is Server Only will the action only appear once while been shown to all players?
  22. Hello, community. I am working on a Coop mission, where I have placed 3 playable units. I will perhaps add more later, depending on my later ideas. They all (including me - the player) need to be able to pick up an item (a specific bagpack - ace_gunbag_Tan). I have placed this object on the ground and I am the only one who can pick it up right now, but it is an important item, being also a protective gear. 😄 So, when I or the other players pick up the first object, the same object should respawn on its previous location after, let us say, 10-15 seconds. It should respawn exactly X times, according to the playable count of units. How do I achieve that? Thank you in advance and cheers! 🙂
  23. Test Lab Workshop for ARMA III, ver. BETA 0001 (2019) This download is compatible with APEX game version 1.7 and higher Drive Link Download: Test Lab New Live readMe file This download includes mission editor files. When my mission folder began to overflow with script test scenarios and VR compositions, I decided to create a master workshop file to use in the future. I considered what features should be built in. Hopefully this tool will be helpful for you, too. INSTALLATION Install the folder 0_testLAB.VR to your ArmA 3 mission folder (usually in Documents). Examples included: Images: Video: THANKS to everybody at: Bohemia Forums Check out our Patreon page Ascina Illustration & Design Arma Public License No Derivatives (APL-ND)
  24. Hi guys, here's the skinny. I've got an aircraft with 3 AI crew and one player crew in an MP environment on a dedicated server. That said the player is NOT grouped with the 3 AI crew for REASONS... What I'm trying to do is add an addiction to the aircraft to allow the player to select a position on the map and order the aircraft to Loiter with given radius and altitude. Here's the code I have at the moment Mother addaction ["Set Orbit", { _this select 1; Orbit_set = true; hintsilent "Open your Map. Leftclick to set orbit center"; onMapSingleClick " _wp1 = group MotheD addwaypoint [_pos, 0]; [group MotherD, 1] setWaypointType ""LOITER""; _mk1 = createMarkerLocal [""OrbitCenter"", _pos]; ""OrbitCenter"" setMarkerType ""waypoint""; [group MotherD, 1] setWaypointPosition [_pos, 1]; [group MotherD, 1] setWaypointLoiterRadius 2000; Mother flyInHeight 1500; Orbit_set = false; "; waitUntil{!Orbit_set}; onMapSingleClick ""; ;} ]; So whats happening is, I select the action (as the player) and I receive the hint, however when I click on a position after opening the map nothing happens. I can go into Zeus and verify no waypoint has been created. However; when I alt click on the map the whole aircraft gets teleported to that position... what gives I don't have a getpos setpos anywhere in there I'm totally lost, I was reading something about an EH for this kind of thing but I'm not understanding that, It seems way more complicated than it needs to be. Thanks! Mother = the aircraft variable name MotherD = the driver of Mother (Pilot)
  25. I have searched both google and the forums for this and see a couple answers to this question that do not make sense to me. I have a couple different firing ranges for my unit that are run via script. They work correctly in both hosted and on the dedi with one small exception. The rangemaster - which is a recording of one of our members played in the script - only executes on the player that activated the firing range, even though the range itself is working for every player on the server. I am 100% sure that it is a locality issue, as the addAction that calls the sqf is located in the init.sqf of the mission. I keep finding answers that have things like this: [Computadora1, ['Disparar a Barco',{<your code here>}] ] remoteExec ["addAction",0,true]; But I do not understand exactly what it all means as most people just provide a script and not an explanation of why it fixes the issues. My question is: how do I execute the addAction in game via remoteExec so that all players can both see the range and hear the rangemaster? Below is a snippet of my range code that involves the recordings - just to ensure that I haven't made a boneheaded error. init.sqf range4.sqf (partial) Thank you all in advance for the help!
×