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 Green Sea
  • TKO's Rules
  • TKO's Changelog
  • TKO's Help
  • TKO's What we Need
  • TKO's Cam Lao Nam
  • MSOF A3 Wasteland's Server Game Play Features
  • MSOF A3 Wasteland's Problems & Bugs
  • MSOF A3 Wasteland's Maps in Rotation
  • SOS GAMING's Server
  • SOS GAMING's News on Server
  • SOS GAMING's Regeln / Rules
  • SOS GAMING's Ghost-Town-Team
  • SOS GAMING's Steuerung / Keys
  • SOS GAMING's Div. Infos
  • SOS GAMING's Small Talk
  • NAMC's Topics
  • NTC's New Members
  • NTC's Enlisted Members
  • The STATE's Topics
  • CREATEANDGENERATION's Intoduction
  • CREATEANDGENERATION's HAVEN EMPIRE (NEW CREATORS COMMUNITY)
  • HavenEmpire Gaming community's HavenEmpire Gaming community
  • Polska_Rodzina's Polska_Rodzina-ARGO
  • Carrier command tips and tricks's Tips and tricks
  • Carrier command tips and tricks's Talk about carrier command
  • ItzChaos's Community's Socials
  • Photography club of Arma 3's Epic photos
  • Photography club of Arma 3's Team pics
  • Photography club of Arma 3's Vehicle pics
  • Photography club of Arma 3's Other
  • Spartan Gamers DayZ's Baneados del Servidor
  • Warriors Waging War's Vigor
  • Tales of the Republic's Republic News
  • Operazioni Arma Italia's CHI SIAMO
  • [GER] HUSKY-GAMING.CC / Roleplay at its best!'s Starte deine Reise noch heute!
  • empire brotherhood occult +2349082603448's empire money +2349082603448
  • NET88's Twitter
  • DayZ Italia's Lista Server
  • DayZ Italia's Forum Generale

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Yahoo


Jabber (xmpp)


Skype


Biography


Twitter


Google+


Youtube


Vimeo


Xfire


Steam url id


Raptr


MySpace


Linkedin


Tumblr


Flickr


XBOX Live


PlayStation PSN


Origin


PlayFire


SoundCloud


Pinterest


Reddit


Twitch.Tv


Ustream.Tv


Duxter


Instagram


Location


Interests


Interests


Occupation

Found 53 results

  1. 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.
  2. 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"];
  3. Hi all, Im looking for a way to add a player proximity scan to my pvp server. Similiar thing has been done in exile using an XM8. all i want to ba able to do is see a hint when you activate the scan that counts players in within a given range. Thanks in advance for any assistance offered.
  4. I tried googling this and I came up with this code here: p1 action["eject", neo_1]; But when I do that nothing happens, the player doesn't eject out of the plane, I then was looking at the wiki and found a getOut action, but when I did that, it caused the player to actually like climb out of the plane and not be ejected from the ejection seat? So I am asking here how to do this, since all the things I've found online were the code similar to above but that doesn't seem to work, maybe some things changed with the new jets update DLC thing? since when I found this code that was back like a year ago?
  5. I'm having trouble checking if a player has fully loaded in before exec my script. Using this is working but runs before player has fully loaded in: if not(hasInterface) exitWith {}; waitUntil {!isNull Player}; waitUntil {player == player}; [] spawn { disableSerialization; waitUntil {! (isNull (findDisplay 46))}; if (player nearObjects["Debug_static_F", 25] isEqualTo[]) then // If player not in debug box { _useCinemaBorders = true; showCinemaBorder _useCinemaBorders; _fg = ppEffectCreate ["FilmGrain", 2000]; _fg ppEffectEnable true; _fg ppEffectAdjust [1,20,8,50,50,true]; Camrunning = true; // set to false to stop the camera _radius = 5; // circle radius _angle = 180; // starting angle _altitude = 5; // camera altitude _dir = 0; //Direction of camera movement 0: anti-clockwise, 1: clockwise _speed = 0.04; //lower is faster _duration = 15; // In seconds. Higher number = intro takes longer _cameratarget = position player; private ["_nvg"]; call { if (dayTime > 17 or daytime < 6) exitWith { _nvg = true; }; // If above does not exit, set _nvg true _nvg = false; }; camUseNVG _nvg; _coords = [_cameratarget, _radius, _angle] call BIS_fnc_relPos; _coords set [2, _altitude]; _camera = "camera" camCreate _coords; _camera cameraEffect ["INTERNAL","BACK"]; _camera camPrepareFOV 0.700; _camera camPrepareTarget _cameratarget; _camera camCommitPrepared 0; while {Camrunning} do { _coords = [_cameratarget, _radius, _angle] call BIS_fnc_relPos; _coords set [2, _altitude]; _camera camPreparePos _coords; _camera camCommitPrepared _speed; waitUntil {camCommitted _camera || !(Camrunning)}; _camera camPreparePos _coords; _camera camCommitPrepared 0; _angle = if (_dir == 0) then {_angle - 1} else {_angle + 1}; [_duration, _camera, _fg] spawn { _duration = _this select 0; _camera = _this select 1; _fg = _this select 2; uiSleep (_duration - 0.3); _camera cameraEffect ["terminate","back"]; camDestroy _camera; ppEffectDestroy _fg; }; }; }; }; Need the script to run once the player is visual and has a true position. Its circling around an invisible object and in an location thats not true. Script was made in editor then transfered to a dedicated server. All is work apart from the script runs before the player is created. The devs at desolationredux gave me a hint I need these conditions checked first but now script wont run at all ? while {true} do { if (!isNull player) then { isPlaying = player getVariable ["DS_var_isPlaying", false]; if (isPlaying) exitWith { MY CODE }; }; sleep 1; }; This is what was used when the script wouldn't run at all : if not(hasInterface) exitWith {}; [] spawn { disableSerialization; waitUntil {! (isNull (findDisplay 46))}; while {true} do { if (!isNull player) then { isPlaying = player getVariable ["DS_var_isPlaying", false]; if (isPlaying) exitWith { { _useCinemaBorders = true; showCinemaBorder _useCinemaBorders; _fg = ppEffectCreate ["FilmGrain", 2000]; _fg ppEffectEnable true; _fg ppEffectAdjust [1,20,8,50,50,true]; Camrunning = true; // set to false to stop the camera _radius = 5; // circle radius _angle = 180; // starting angle _altitude = 5; // camera altitude _dir = 0; //Direction of camera movement 0: anti-clockwise, 1: clockwise _speed = 0.04; //lower is faster _duration = 15; // In seconds. Higher number = intro takes longer _cameratarget = position player; private ["_nvg"]; call { if (dayTime > 17 or daytime < 6) exitWith { _nvg = true; }; // If above does not exit, set _nvg true _nvg = false; }; camUseNVG _nvg; _coords = [_cameratarget, _radius, _angle] call BIS_fnc_relPos; _coords set [2, _altitude]; _camera = "camera" camCreate _coords; _camera cameraEffect ["INTERNAL","BACK"]; _camera camPrepareFOV 0.700; _camera camPrepareTarget _cameratarget; _camera camCommitPrepared 0; while {Camrunning} do { _coords = [_cameratarget, _radius, _angle] call BIS_fnc_relPos; _coords set [2, _altitude]; _camera camPreparePos _coords; _camera camCommitPrepared _speed; waitUntil {camCommitted _camera || !(Camrunning)}; _camera camPreparePos _coords; _camera camCommitPrepared 0; _angle = if (_dir == 0) then {_angle - 1} else {_angle + 1}; [_duration, _camera, _fg] spawn { _duration = _this select 0; _camera = _this select 1; _fg = _this select 2; uiSleep (_duration - 0.3); _camera cameraEffect ["terminate","back"]; camDestroy _camera; ppEffectDestroy _fg; }; }; }; }; }; }; sleep 1; }; Any help to what I doing wrong would be amazing ! Cheers
  6. I want to make a MP mission for some friends and i want to make so a player has to heal a AI that have been shoot. I have <pilot setdamage 0.8> on the AI unit (pilot) inside unit init field. without the <> :) and this inside his INIT also [pilot, "PRONE_INJURED_U2", "ASIS"] call BIS_fnc_ambientAnim; I have a trigger that has this in COND: damage pilot ==0.2 ( i have read somewhere on the WIKI that a medikit heals 0.75 %) on ACT : pilot switchmove "UnconsciousReviveDefault_B"; have also tried pilot playmove "UnconsciousReviveDefault_B"; and pilot playmovenow "UnconsciousReviveDefault_B"; He does not play the last animation, do i need something more to make it work ??
  7. Hello all, I'm curious as to grab a player / unit's object from the server. I want to refrain from doing: { if(_x == player) then { //etc }; } forEach allPlayers; any good solutions to this?
  8. I'm currently tring to set up a mission where a player activates an action witch activates a trigger that spawns units in a group. I have done the addAction and it looks like this: this addAction ["Spawn INF", {(_this select 0) setVariable ["GERinf", 2, true];}]; and the condition of the trigger: ((InfTrigGER getVariable ["GERinf", 0]) == 2) But i have trouble with spawning the units. So far i have done this: _group105=createGroup west; _unit2=_group105 createUnit ["fow_s_ger_heer_rifleman", getMarkerPos "GERinfspawn", [], 4, "FORM"]; I'm trying not to use an outside script and basicly only do it from the ingame init. If someone can help that would be awesome :)
  9. Background I'm attempting to successfully fast-rope AI in an urban environment, which is apparently very difficult. I've already set up the helicopter with a FRIES system which works fine when used by a human of their own volition. I've done plenty of sifting through archives and people have been struggling with this for some time without a clear resolution. It would be nice to be able to make things a lot clearer here. Problems Still requires a human to use the "prepare fast rope action" Pilot does not fly low enough to successfully drop troops with their legs intact Pilot does not hover precisely where he needs to I know there seem to be issues with flyInHeight, particularly over buildings, so I'm attempting to intervene within the ACE scripts to maybe add some extra lines to really force the helicopter down. I've managed to find the deployAI.sqf script from the ACE 3 github repository, but I can't examine the operation of it much more because it references functions which I have no idea how to view. For example: [{[_this] call FUNC(deployRopes)}, _vehicle, _deployTime] call CBA_fnc_waitAndExecute; I've scanned through the entire list of functions with my addons loaded and I can't find deployRopes anywhere. With respect to preparing the fast rope system, does anyone know how I can determine what code is being executed when a human player uses this action via the ACE interaction menu? My hope is that I can find out how to trigger the same commands by script. Outcomes Advice getting a helicopter pilot to hover over a very precise spot Advice getting a helicopter pilot to hover at a very specific altitude Description of how to view functions referenced by ACE Suggestion of how to determine the "prepare fast rope" commands used by ACE interaction menu Thanks in advance.
  10. Need Help me Guys. I try makes scenaries for Multiplayer. And tried to resolve this issue - Select one player with Opfor team, assign him Somename as "spy1" and createDiaryRecord for him. i try many scripts but not rusult. one script work in my computer but not work with my friends. i try that in init.sqf _arr=[r1,r2,r3]; rozv1 = selectRandom _arr; rozv1 createDiaryRecord ["Diary", ["Bla-bla", "Bla-bla-bla"]]; if (alive rozv1) then {hint format ["%1 is chosen", rozv1];}; and that fn_SelectRandomOpfor = { _unit = objNull; _unitsArray = []; { if ((side _x == east ) and (isPlayer _x)) then { _unitsArray = _unitsArray + [_x]; }; } forEach allunits; rozv1 = _unitsArray call BIS_fnc_selectRandom;} call fn_SelectRandomOpfor; rozv1 createDiaryRecord ["Diary", ["Bla-bla", "Bla-bla-bla"]]; and that waitUntil {player == player}; playerarray = []; { playerarray = playerarray + [_x]; } forEach playableUnits; if (side player == opfor) exitWith { rozv1 = playerarray call BIS_fnc_selectRandom; rozv1 createDiaryRecord ["Diary", ["Bla-bla", "Bla-bla-bla"]]; if (alive rozv1) then {hint format ["%1 is chosen",rozv1];}; }; but every times when i tested with my friends we have problem with Select that one spy player. say me please what I need to do to achieve the desired result.
  11. dystopian

    The Wake [SP]

    A thermonuclear warhead detonated and killed over two hundred thousand people. Then the Chinese launched an invasion after bombarding the area with chemical gases. The gas was scientifically designed to hijack the human psyche and cause extreme outbursts of aggression or rage. To divide the populace against one another. Little did we know zombies could be real after all... --------------------------------------------------------POST APOCALYPTIC SURVIVAL HORROR---------------------------------------------------------A lot of mods I know but I promise you this is one of the greatest missions you never played. Planning on making a campaign more to come! Workshop link with further information regarding mods and links: http://steamcommunity.com/sharedfiles/filedetails/?id=1133588778
  12. Hello all I am working on a single player immersive Zombie mission and I am attempting to get my player to play an animation. I've never really done this I've normally always made the AI do them. So I have my guy here and a trigger. His name is [p1] I have in the Trigger act: p1 play or switchmove "AinvPercMstpSrasWlnrDnon_G01"; I walk into the Trigger and nothing. So is there something I need to know about animating an actual player not an AI unit?
  13. I'm trying to write a script for revealing all empty playerside vehicles to the player (MP & SP). This is how I've done it: 0 = [] spawn { while {true} do { _allEmptyVehs = vehicles select {{alive _x} count crew _x == 0 && (side==playerside)}; //vehicle should be empty (not counting the dead units) and on the player's side { player reveal _x; } foreach _allEmptyVehs; sleep 2; }; }; The problem is that the unit positions do not update on the map. Can someone please tell me what I'm doing wrong?
  14. Hello, I was wondering if it is possible to select the player object that is associated with a player's UID. What I am trying to achieve is a player save on the server profile.
  15. Story This is a script that I wrote a few weeks ago for a friend. It's supposed to simplify the loading of cargo onto vehicles by the player. There are several routine integrated to avoid script errors. A description can be found inside the SQF file, how to execute the script. It's SP/MP/Dedicated and HC compatible. Have fun. Content It is a single ~140Code-Line-Big Script to enable the Player to attach objects with other objects via the action menu in a simple way. Purpose The aim of this script is to make it easier to implement a universal script, which enables the player to attach objects in a specific manner. Download Missions and Script on GitHub ArmaHolic Link Credits Script & Media: Rockhount Examples
  16. WurschtBanane

    Teleport to players!

    It is a convoy mission, and the players are allowed to use whatever path they want. This makes me often loose them. But here is the issue. I want to be able to teleport to players as Zeus, but stuff placed in editor cannot be edited by Zeus. Is there a way to spawn PLAYABLE units in-game, so that i can just use them like normal ones? Or is there a way to go around the issue, for example by using some kind of a script?
  17. Hi. This is my first post, i usually try to search first, but i have found nothing to help me about my problem. I have a Hostage script that i found here in the forum. Hostage script by DrCox1911 , It works well, but on to my problem. When i start the mission on a dedicated server, my player character starts in the same position as the hostage and begin to untie him. It only happens when i play on a dedicated server, if i start a server from my game, it plays fine. What do you need to see, to begin to help me ?
  18. Hello, I've been working to get some guns in game for a friend; however, I've hit a roadblock with crashing errors. To be more specific, the game will crash whenever you preview or play a mission and you have one of these guns in your inventory. The crashes have a message saying "no entry .model", or I simply get a memory error crash. Due to it being a memory crash, I'd assume the crashing would be caused by a bad model.cfg, which shouldn't really be the case, since I am using the BI sample weapon model.cfg file, adjusted to my needs, of course. Here are some pictures of the weapons in game: https://steamuserimages-a.akamaihd.net/ugc/158032821958466197/0B998D220EF3D9E347AFEDA3DBEF3D5914805BC5/ https://steamuserimages-a.akamaihd.net/ugc/158032821958466084/5F271A78FC8C5BBCBD8F0641A68C4EC56E4A3D0C/ https://steamuserimages-a.akamaihd.net/ugc/158032821958465874/8029B0318F96F85565B24A92CC35C7F5DB350DC8/ Here is the model.cfg for one of the guns. The model.cfg for each weapon is the same, except for the p3d name change, of course. https://pastebin.com/Nksb7xyz Ammo.hpp https://pastebin.com/GqW4jABC Magazines.hpp https://pastebin.com/U0ahBL83 Weapons.hpp https://pastebin.com/KRDdmK8N Config.cpp https://pastebin.com/hdYuyS7P Apologies if any of it is long, this config is going to be a base for many more weapons later on.
  19. I'm building a multiplayer mission using ALiVE, ACE, and some other mods, which is intended to be a big 3 way factional battle, with BLU_F and OPF_F to be playable while leaving IND_F unplayable as the initial occupying force to be conquered. So far so good, still tweaking some of the objective modules and taors for balance, but I already have the support and logistics all functioning well thanks to lots of reading and studying of wikis. I can call in artillery and airstrikes just fine, and so on. I must admit, however, that I'm not a very good scripter and I often have to look up how others have done things in order to figure out something. My understanding of it, in regards to everything from syntax to eventhandlers is very very limited, so thanks in advance to this great, very knowledgeable community. So here's my question: I currently have players spawn in solo, ungrouped to any AI, but I want the player to have the option, with a radio command, to spawn a group of their choosing (one of the presets from the cfgGroups list I suppose), and have it join them under their command. As a second feature, when the unit the character is playing dies I would like the player to have the ability to respawn in the group, taking control of one of the other AI in his squad, which I generally already know how to set up IF the units are already set to be "playable" (respawn = 4; in description.ext), but have no idea how to set up if we spawn them ingame as initially unplayable AI. I have no idea how to do this. I have tried other options, such as just linking an unplayable group to the player in the editor, or even making all the units in the group playable for selection, but I ran into various issues, such as not being able to command the group if I selected a unit other than the leader to play from the lobby (obviously) or just having too many units spawning all over waiting for another player to join in order to command them all, or if I want to play ungrouped I'd have all these hangers on. All these issues I felt severely limited my options and I was getting rather frustrated. I finally decided, that for what I want to do, giving an initially solo player the chance to choose a group to command or none at all would be a fun option for the player and lead to a great range of diverse outcomes for how they want to experience the mission. Please bear with me and my lack of knowledge in this, and any help that leads to a solution is greatly appreciated.
  20. 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>"]; };
  21. Hi ! For some reason, when a player disconnects, gets kicked, crash, he is replaced by an AI... I found this in the Init, would it be related to it ? OnPlayerConnected {If (_uid In ID_Players) Then {} Else {ID_Players = ID_Players + [_uid];};}; Is there a way of not getting an AI everytime a player disconnects ? Thx !
  22. Hi, i was playing 2 days ago Arma 3 with Exile Mod, CUP mods And CBA mod on server and without any issue But today i am trying to connect to any server with it keep me connecting and then disconnect and sometimes kicks me So i contact the admin of the server and he told me i see this error: 13:53:06 Client Ali-S - client's ticket has become invalid. Code: 6 I can only connect to servers that have Exile only with vanilla maps but any additional mods it's wont working I tried to troubleshoot this solutions: - Verified the game - Delete Savegame and MPMissionsCache folder - Downloaded all mods again - Tried from Arma 3 Launcher and A3 Launcher - Added/removed parameters - Restarted my PC and my router - Deleted my character from server - Tried new profile - Run as administrator for Arma 3 and A3 Launcher - Direct connect by using server IP Non of these helped, but the admin it could be your steam account ID is doing the issue so anyone have fix for this issue?
  23. Hey guys! So I have a really annoying problem that I've tried for hours to solve to no avail. Anyway, I'm trying to create an addaction with dynamic variable names on all players in multiplayer and then have it remove itself either when activated or later on in the script. The action will be to call an extraction heli, which is why I needed to add it to the players rather than the heli itself, because of the radius limitations. It seems to work perfectly on the host and on all clients as long as they join at the same time, but as soon as the first JIP player joins, the action can't be removed anymore. It's probably a simple fix but I just can't get my head around it. Here's just a simple example of how i'd like it to work. I was originally using the JIP remoteExec options rather than recreating the action on a loop but I thought it best to try and solve this problem first before getting into that. Any ideas? if (!isServer) exitWith {}; _var = "1"; call compile format [" while {true} do { [[], { testAction_%1 = player addaction [""<t color='#ff9900'>Test Action</t>"", { {player removeAction testAction_%1} remoteExec [""call"", 0]; hint ""this is a test action""; } , _this, 99, false, false, """", """"]; player setVariable [""action_Id_%1"", testAction_%1, true]; publicVariable ""testAction_%1""; }] remoteExec [""call"", 0]; sleep 10; {player removeAction testAction_%1} remoteExec [""call"", 0]; }; ", _var];
  24. Hello everyone, I have a question here. I started working on something that I considered really simple which turned out fast a bit more complicated. I've been continiously banging my head on my desk for the past hour so I decided to come over here where I would surely get help from some of the more talented folks out there. Basically how do I check if and what the player has selected in his inventory? For example: In this screenshot the player has selected the First Aid Kit. How do I check if he actually has done that?
  25. Hello, I found this script at armahaulic = www.armaholic.com/page.php?id=26369 With a minute amount of editing, I made it do what I want, which is just force first person on the player. // Author - Sokoloft & Rodeostar42 @ www.armaholic.com/page.php?id=26369 //3rdPersonView.sqf if (!isDedicated) then { waitUntil {!isNull (findDisplay 46)}; if( (difficultyOption "thirdPersonView")isEqualTo 0) then { while {true} do {}; }; if( (difficultyOption "thirdPersonView")isEqualTo 1) then { while {true} do { waitUntil {cameraView == "EXTERNAL" || cameraView == "GROUP"}; if (((vehicle player) == player) && (speed ( player)) >= 0) then { player switchCamera "INTERNAL"; }; sleep 0.1; }; }; }; How would I go about making it to were the player is kicked after numpad enter is hit more than 3 times. As well as in between, is given a warning via side chat, so people in server can shame the person, as well as it should have the persons name. So: %PlayerName% has tried to enter third person, stop now or you will be kicked! %PlayerName% has tried to enter third person, last chance, stop now! %PlayerName% has tried to enter third person, for the last time, and will now be kicked! As well as the only reason why I want to do this is because if you run, and spam enter, you can slightly get into third person for a second. This is really not a problem, since my mission is vs AI, however if a player decided to spam it, they can slow down the server quite a bit since the script is being done every time they hit numpad enter. As well as there needs to be a grace for players in vehicles, so that they can still go into third person and not be kicked. But not spam it at the same time! Any info would be helpful as I don't know what I'm doing xD
×