Jump to content

Search the Community

Showing results for tags 'player'.



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 Napf
  • 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!

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

  1. SOLDIER TRACKER by QUIKSILVER v2.6.0 CREATED: 8/08/2014 UPDATED: 11/10/2023 A3 2.14 Download (GitHub) VIDEO: IMAGES: DESCRIPTION: A system for showing Soldier, Vehicle and Group information on the Map, GPS and HUD. PURPOSE: Designed for scenario designers to have a powerful, high-performance and highly flexible solution to presenting player, vehicle and group information on the map, GPS and HUD interfaces. FEATURES: FUTURE DEVELOPMENT: INSTRUCTIONS: PERMISSIONS: SUGGESTIONS / FEEBACK / BUG REPORTS: KNOWN ISSUES: CHANGE LOG: THIRD PARTY CREDIT: DONATE: DOWNLOAD LINK: Download (GitHub) Cheers! ๐Ÿ™‚
  2. Hello everyone, I am looking all over the place recently if there is any script or code out there that simply just works in MP and displays, say if you play with a few friends, all the players and simply their kill count on a small text list on screen. We are not satisfied with how the score board works in Arma and want something what we think is a bit more concrete display of number of kills, where everyone, including civilians adds +1 to number of kills for the individual player. Or if not binding the score to a player, maybe bind it to a unit's variable name to show. https://techlethal.com/2013/03/21/arma-3-alpha-scripting-a-kill-counter-that-keeps-track-of-ai-kills/ This is the closest I got, but it only works in SP. Any tips or feedback is appreciated!
  3. Hello everyone, I've been thinking about implementing some sort of AI radio chatter based on AI generated voices (for my future maps). I'm fairly new to ARMA scripting but so far I've found it pretty interesting. My plan is to convert some text to voice via any of the numerous voice AI generators available, and then to use it with the Conversations system/framework to give indications or to notify the player about some scripted events, for example. I prefer this alternative to recording my own voice since I'm not the most expressive human being ๐Ÿ™‚ and my microphone is not the best. So far I've found an easy YouTube tutorial for creating a basic conversation between AIs, but only for natural voice (with no radio effect). My only issue is that I have no idea how to implement the radio chatter effect. I haven't yet found an AI voice generator which also applies specific effects to the generated voice. Does arma provide any tool for applying this effect or do I have to manually edit the natural voice, in Audacity for example? Also, is it mandatory to have an actor in order to "emit" a voice/radio chat?
  4. https://steamcommunity.com/sharedfiles/filedetails/?id=2520244300 SOG Prarie Fire cDLC mission, SP focused and also playable in COOP up to 8 players. Properly set up so all tasks and scripted radio chatter works for all players in coop. Rescue downed pilots, search villages for evidence of hostile intent, fight off Viet Cong. Prairie fire's revive system enabled even for SP. Approximately 1 hour playtime. "You are a Combat Search and Rescue (CSAR) unit squad leader stationed at FSB Quan Loi. Your unit's overall mission in the Area of Operations is to stand by for any downed aircraft, stranded vehicle or missing soldier who needs their fat pulled out of the fire. You go out on no other missions, however the missions you get are both sudden and urgent. Every call is an emergency for the poor souls you are coming to the rescue of. You are their Guardian Angels."
  5. Hey guys, I have a hard time understanding what thisList or list triggerOne is giving me back as object. The idea is, that when a trigger is activated, it sets the fuel of the car the player is in to 0 (or damages one of its wheels). _list = list tr_fuel1; _vehicle = objectParent (_list select 0); But seems like that what is standing in (_list select 0) is not a player object. So, the noob I am, I check what I get there instead: hint format ["Player: %1", _list select 0]; "Bravo 1-1 Alpha 1: (jan)(s1)" Gives me a lot of stuff in there. The Radio Name, the Players name and the player variable. Is there an elegant way to get the player variable out of this so I can work with it further on? Or is there any kind of way where I can change the returnvalue of (_list select 0) into a player object? Cheers, Jan
  6. Hey guys, I am trying myself on a remoteExec. The idea is, that on the execution of the remoteExec (which can only be triggered by the Game Master) every player gets teleported to their starting position by evaluating in which truck they are sitting. I was hoping that I could get the player object in the remoteExec but nothing happens. Is there a way to get the Player in a remoteExec that i completely missed? Thanks for your help. _vehicle = (vehicle player); switch (_vehicle) do { case "truck_alpha": { player setPos (getMarkerPos "mrk_start_alpha"); }; case "truck_bravo": { player setPos (getMarkerPos "mrk_start_bravo"); }; case "truck_charlie": { player setPos (getMarkerPos "mrk_start_charlie"); }; case "truck_delta": { player setPos (getMarkerPos "mrk_start_delta"); }; case "truck_echo": { player setPos (getMarkerPos "mrk_start_echo"); }; case "truck_sierra": { player setPos (getMarkerPos "mrk_start_sierra"); }; };
  7. Screenshots: "- [ Screen 1 ] - [ Screen 2 ] - [ Screen 3 ] -" ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Download: To download my ArmA 2 Profile Editor tool visit my website: "www.Zey64.net" ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Features: Easier editing and managing of player profiles for "ArmA 2" & "ArmA 2: Operation Arrowhead". Overview of all face and glasses classes for you character. (Face Customization!) Custom face and glasses support. You can enter a longer player name. Duplicate current player profile with all saved settings ingame. (Duplicated profile have "_2" postfix) Creates new player profile for "ArmA 2" & "ArmA 2: Operation Arrowhead". (the profile has the default settings!) File status check. (shows which files are already included in the profile and which are not) Single files like "*.ArmA2Profile" or "*.ArmA2OAProfile" can also be loaded. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Alternative option: If you don't want to use my tool or it doesn't work on your device, i have another alternative to change your character design! Here you can find the list of all face and glasses classnames that you can use in the game. ::: "ArmA 2 Faces" & "ArmA 2 Glasses" - Library ::: Tutorial on how to edit without the tool can be found here: Set Class Yourself ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Don't be surprised if the changes are not visible in the player profile, but they will be visible in the game. Works in Singleplayer and Multiplayer mode. Have fun. best regards - Zey64
  8. Hi, I try to make a script which will use markers to detect player and spawn enemies (not sure this is possible?). The goal is to evade placing 70 triggers on the map. I tried with this if (player inArea [[(getMarkerPos "mrk1")]250,250,45,false]) then {hint "Tralala";}; But it gives me error "Array expected Boolean". But where is the error? Thanks for any help.
  9. [RELEASE] Script to para jump and land with your squad in formation When using steerable parachutes, my squad never followed me. They were spinning around, hanging in their parachutes, and they were landing wherever they want. I got tired to catch up with my squad after every jump, so I wrote this script. WHAT IT DOES: If you go into freefall, your squad will drop out of the aircraft. When not looking at your squad, it gets repositioned behind you. In freefall and when they are in their parachutes. Your squad opens the parachute when you do, or when they reach a height between 100 and 75 meters. Your squad should land close to you. To make the units not spin around in their parachutes, the simulation of the parachute is disabled. THE SCRIPTS: Add this eventhandler for your player unit, to check for freefall animation: AIM_fnc_paraDropInit (this adds the action to open your parachute, handles your squad exit out of the aircraft, and initializes the formation) AIM_fnc_paraDropParachute (this opens your parachute, and for squad members it waits until you have opened your parachute) AIM_fnc_paraDropFormation (keeps your squad close to you, until you landed) YOU HAVE FOUND ISSUES OR YOU HAVE OPTIMIZATION SUGGESTIONS? Don't hesitate to tell me your feedback, down in the comments below. ANYTHING ELSE? No. Just have fun! ๐Ÿ™‚ MAKE ARMA, NOT WAR! ...and maybe check out... "OPCOM - OPERATION COMMAND"
  10. Hello, I am noob at such things as scripting , but long story short - Could you guys help me how to ensure that "when any MP player on DS enters any vehicle (even fresh spawn by zeus) then player takes no damage at all ? and when any MP player leaves any vehicle it is vulnerable again ? Thank you in advance.
  11. I've been trying my best to get a script to work which allows a server to detect players within a specific vehicle. Here are the versions I've tested. They do not work on a dedicated server though. 1: {_x in object} count (playableUnits) == {alive _x} count (playableUnits); 2: _allPlayers = call BIS_fnc_listPlayers; {_x in object} count (_allPlayers) == {alive _x} count (_allPlayers); 3: {_x in object} count (allPlayers) == {alive _x} count (allPlayers); 4: ( {alive _x && !(_x in object)} count allPlayers ) == 0 I'm terrible at scripting but I try my best to understand. If you have a fix that is great, though I'd love to know how I messed up and how to improve for the future. :)
  12. https://github.com/Crito-VanaheimServers/Bambi-Loadout Loadout script with player UID's or respect based with randomized weapon tiers. INSTALLATION: Put the ExileServer_object_player_createBambi.sqf inside a folder named custom and place it into your mission.map.pbo or if you already have a custom folder in your mission.map.pbo then just paste this file into it. Next you need to add the following code to the custom code section of your config.cpp file found in your mission.map.pbo. ExileServer_object_player_createBambi = "custom\ExileServer_object_player_createBambi.sqf"; ABOUT THIS SCRIPT AND HOW IT ALL WORKS. In this script you will find 4 weapons tiers that you can change or add any weapons in each tier to your liking. Below the weapon tiers are 5 loaduts based on Player UID's. This is where you will put together a loadout that only 1 player is able to spawn in with and no one else. Below the 5 UID based loadouts you will find the loadouts based off of player respect. If the player does not have a UID assigned to loadout in the UID loadout section then they will automatically be using the respect based loadouts. In each respect based loadout you will notice there is no specific weapon or ammo assigned to the loadouts. That is what This line of code is for [_bambiPlayer,_Tier1PrimaryWeapons,3] call bis_fnc_addWeapon; _Tier1PrimaryWeapons points to the weapon tier that will randomly be selected for the player and the ammo will automatically be given for whatever weapon they end up with. ,3] is the number of magazines you want the player to have when they spawn in, but if you give them alot of ammo you need to make sure you give them the ability to carry all ammo and items you can not give them a uniform and no vest or backpack and expect them to carry 10 magazines and food, water, ect. if weapons added to the weapon tiers do not support the attachments in the random attachments it will still work the gun will be givin but it will ignore the attachments portion. To add a specific weapon to loadout just replace _Tier1PrimaryWeapons in [_bambiPlayer,_Tier1PrimaryWeapons,3] with a specific weapon enclosed in quotes. 12/1/2020 Added Randomization of weapon attachments.
  13. Hey Guys, i love playing Arma, but there is one thing that always bothered the hell out me... Why we have no way to save player data like custom weapon configs, player outfits etc with our account and access them on multiple multiplayer servers like "King of the Hill" or "Altis Life"? Over the past months i've tried to figure out a way to make this happen. I found the wonderful Add On https://github.com/playnet-public/ArmA3URLFetch, which gives us the possibility to access API Endpoints from your local machine in multiplayer missions. The last days i developed an open django api endpoint, which can be requested by the player in the mission and there fore, there can be exchanged data, without the need of a local database. Of course, there's the question on how to authenticate the unique player in the mission. I'm trying to rebuild an OAUTH like workflow, where the local server acts as an authentication provider, by calling the api endpoint as well. Here's the workflow: In my opinion, this new approach gives mission creators a very powerful tool... Creators can now access every possible player information through one endpoint from multiple servers: Here's a multiple server setup: This gives mission creators the ability to share player information across every server of their mission and maybe host a mission website to access player information outside of Arma. At the moment i've developed a "proof of concept" iteration to ask for feedback if there is a need for such a system. I'm looking forward to your feedback and i would love to implement such a system in an upcoming multiplayer scenario. Here's an example example multiplayer mission. Here's the open django api endpoint. Best Regards, Luke PS: Sorry for the bad paint pictures, i'm broke ๐Ÿ˜‰ Here is how its done: (authentication stuff is still in work...) Call the authentication in the initPlayerLocal.sqf and give player action (just for testing purposes) player addAction ["Handle Request", { [] spawn it_fnc_handleRequest }]; // handle the authentication [] spawn it_fnc_handleAuthentication; define the handleAuthentication function _cliendid = [ "http://192.168.0.102:8000/api/auth", "GET", ["uid=xyz"], true ] call a3uf_common_fnc_addClient; [ _cliendid, ["Content-Type: application/json"] ] call a3uf_common_fnc_setClientHeaders; _response = [ _cliendid ] call a3uf_common_fnc_clientRequest; _test = parseSimpleArray _response; _next = _test select 1; _u = _next select 0; _auth_token = _u select 1; diag_log "AUTH TOKEN"; diag_log _auth_token; _token_string = format["token=%1", _auth_token]; _cliendid = [ "http://192.168.0.102:8000/api/check", "GET", ["uid=xyz", _token_string], true ] call a3uf_common_fnc_addClient; [ _cliendid, ["Content-Type: application/json"] ] call a3uf_common_fnc_setClientHeaders; _response = [ _cliendid ] call a3uf_common_fnc_clientRequest; _test = parseSimpleArray _response; _next = _test select 1; _u = _next select 0; access_token = _u select 1; diag_log "ACCESS TOKEN"; diag_log access_token; define the handleRequest function _cliendid = ["http://192.168.0.102:8000/api/user", "GET", [], true] call a3uf_common_fnc_addClient; _auth_string = format ["Authorization: Bearer %1", access_token]; [_cliendid, ["Content-Type: application/json", _auth_string]] call a3uf_common_fnc_setClientHeaders; _response = [_cliendid] call a3uf_common_fnc_clientRequest; _test = parseSimpleArray _response; _next = _test select 1; _u = _next select 0; _name = _u select 1; hint format["Hello %1", _name]; diag_log "REQUEST"; diag_log _auth_string ; diag_log _response; define endpoints in views.py # api endpoint for user to access saved informations @api_view(["GET"]) def user(request): print(request.headers) token = request.headers.get("Authorization").split(" ")[1] # find the player by given access token try: player = Player.objects.get(token=token) # get the player # except User.DoesNotExist: except: # player with given token not found, return error return Response({'error': 'Player with token not found'}, status=HTTP_400_BAD_REQUEST) return Response({"name": player.name})
  14. I've tried several scripts around the net and thus far none of them seem to worked correctly (or I'm doing it wrong). Basically, I'm looking for something that will report when a NPC kills a player and reports it to chat. Preferably with the grid number. I've tried different handlers to no avail. ie. "Nighthawk was killed by BMP-3" Me and a friend are working on a highly modified Escape from Chernarus mission for our small group. We're really looking at having this for the sake of communication with some of our younger players. Thanks a bunch!
  15. Hi, I know that you can force a player to walk by using forceWalk, but i'd also like to know if it's possible to force other paces onto the player. combat pace, run, sprint namely. I cannot find a similar command for these paces. A lead I was following would be to detect the keys set for toggle on these settings and emulate their input, but I don't know if it's possible to emulate key input from a script.
  16. Hello, I wonder if is there a way of getting out of a waitUntil loop in the case when a script is remoteExec on the server in the init.sqf with player passed as argument and when the player disconnect from the server? I see on my linux server'screen when i disconnect from the server the error " Client: Remote object 4:0 not found " and the diag_log message continuing emmiting each second so the script never end. //init.sqf if (hasInterface) then { waitUntil {!isNull player}; [[player], "test.sqf"] remoteExec ["execVM", 2]; }; // test.sqf params ["_player"]; while {!isNull _player} do { waitUntil { diag_log "!!!!In waitUntil loop!!!!"; sleep 1; /*(condition code)*/ or isNull _player }; if (isNull _player) exitWith {}; //code... // // };
  17. Well, i felt it was necessary to carry out this Poll out of general interest ๐Ÿง Its probably going to be a bit biased because since ARMA 3 went on steam, i think only the ARMA veterans are on this forum anyway......... but prove me wrong ! haha....
  18. i want to make a intro to my SP game, is there somehow a way to disable players mouse and key input, and the enable them again when the players character is finish with the animations that i want it to play.
  19. As title says. I am very bad at scripting, i have made a fully made mission, everything is done. Now I need a script so that i can teleport a module "zombie waypoint" to certain location when players enter a trigger. What script and entities do i need for that. So Player enters a trigger trigger gets activated Module moves to trigger location or near it then repeat on next trigger thanks, im very new to coding and scripting.
  20. Hello. I am very new to coding. I need a code/script to make enemies know where all the player location are and follow them (they do it automatically anyway?) Basically i need to make the AI know the location of all player and hunt them down, even if they where spawned in via script or already ingame. preferably in a loop maybe? so they get updated, i donno every 30 seconds? or more. Im very new and bad at coding, i tried reading up on it. but i failed. i tried google it, but to be real, i dont really know what to look for. Thanks. This is the last part of my mission to get it fully functional.
  21. Hi, I am currently trying to find a way to check if local player is function caller in sqf file. I have civilian with addAction, which calls this script: _caller = _this select 2; if (local player == _caller) then { _handle = createdialog "Interaction"; } I need to show the GUI only to player using the action. Sorry if it's somewhere on these forums, but I was unable to find it. Thanks for your answers ๐Ÿ™‚ WendAF
  22. Evening people So I'm currently in the process of making a missions which is coming along rather well but I've now ran into a problem (which I was aware would happen), and I'm unsure how to go about it. Context: Upon spawning there two sides "west" & "civilian" When the CivPop players spawn I wish for one of them at random to be selected to have a certain option and also be hinted they are the chosen player. The option I wish for them to have is an "AddAction" which when activated will execute a script.In that script I wish for it to force that unit to switch Side to "east", change their loadout, play a sound file, hint to "west", and then remove action. Currently I have a onPlayerRespawn.sqf file with the following (Var shooter is currently on "east" side) sleep 5; shooteraction = shooter addAction [ "<t color='#C00000'>BEGIN CARNAGE</t>", "shooter.sqf" ]; Within the shooter.sqf is the following shooter say3d ["pumped", 25, 1]; shooter removeAction shooteraction; All of the above code works fine, it's quite simple, I've got the sound file to play fine and the action to be removed; but now how would I go about the rest. Upon spawning: Choosing random CivPop player to have said option and hint informing them upon spawning When activated: Forcing chosen player to side "east" Forcing chosen player to change loadout to what I list To play the above sound file and finally remove action Any help would be great. I'm still quite Amature to development for Arma but I have a passion to learn. Sadly I'm stumped .
  23. Hey guys. Does anyone know how to find a unit's combat mode in the player's squad? The command "combatMode" doesn't work, neither for a single unit nor the entire group. Any help would be appreciated!
  24. So I want to use markers that are linked to playable characters. My players will be playing characters that live in certain places or know certain things from the start of the mission. They have the ability to choose what kind of character they want to play out of a multitude of characters. However since I have multiple choises of character for the players I do not wish them to know the markers of the characters that are not being played. So how am I able to link these markers to the characters and only let them be show when a character is being controller by a player. TLDR: How do I link a marker to a unit that only shows up when a player is controlling that unit. But the marker has to be visible to everyone.
  25. Can someone please help me on the below: The script is working correctly bar one thing. When the marker is added to the map I want it to have in brackets (Marked by <playerName>) however currently it just adds "CAS Target (Marked by any)" Can someone explain why the name command is not returning the name of the player? I have in the Init box of the unit in the editor: nul = [this] execVM "scripts\add_markcastarget_action.sqf"; This is add_markcastarget_action.sqf _currentPlayer = _this select 0; _playerName = name _currentPlayer; sleep 10; fnc_addActionMP = { private["_object", "_screenMsg", "_scriptToCall"]; _object = _this select 0; _screenMsg = _this select 1; _scriptToCall = _this select 2; if(isNull _object) exitWith {}; _object addaction [_screenMsg,_scriptToCall]; }; [_currentPlayer, "<t color='#f20000'>" + "Mark CAS Target" + "</t>", { titleText ["Click to mark CAS Target location.", "PLAIN"]; openMap [true, false]; _attachedTo = (_this select 0); ["mk_cas", "onMapSingleClick", { titleText ["", "PLAIN"]; _markerName = "CASMARKER_" + (str _pos); _marker = createMarker [_markerName, _pos]; _marker setMarkerType "hd_destroy"; _marker setMarkerColor "ColorRed"; _marker setMarkerText format["CAS Target (Marked by %1)", _playerName]; ["mk_cas", "onMapSingleClick"] call BIS_fnc_removeStackedEventHandler; true; }, [_attachedTo]] call BIS_fnc_addStackedEventHandler } ] remoteExec ["fnc_addActionMP"];
ร—