xJordannx
Member-
Content Count
25 -
Joined
-
Last visited
-
Medals
Everything posted by xJordannx
-
Hey, I was wondering if anybody could make me a script where if you get near to a player, you'll get an option to "Handcuff" them which will make them switch to the animation: ActsPsitMstpSnonWunaDnon_sceneNikitinDisloyalty_Sykes And then an option to "Uncuff" which will uncuff them. Thanks.
-
Hi, I'm new to ArmA 2 coding and I was wondering if anyone could help me make a script so that when you press Tab it puts your hands on your head, Thanks.
-
Say3d heard all over the map
xJordannx posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hi, I'm having an issue with getting say3d to work the way I want, basically I want it so if I press a button on the keyboard it will say a sound in the area of the person pressing the button, however it is saying the sound over the entire map. Here is my init.sqf for say3d: if (isNil "PVEH_netSay3D") then { PVEH_NetSay3D = [objNull,0]; }; "PVEH_netSay3D" addPublicVariableEventHandler { private["_array"]; _array = _this select 1; (_array select 0) say3D (_array select 1); }; fn_netSay3D.sqf: private ["_obj","_snd"]; _obj = _this select 0; //object _snd = _this select 1; //sound // broadcast PV PVEH_netSay3D = [_obj,_snd]; publicVariable "PVEH_netSay3D"; // run on current machine also if not dedi server if (not isDedicated) then {_obj say3D _snd}; true and the keybind part: case 79: { nul = [player,"sound1"] call fn_netSay3D; }; Any help would be appreciated, Thanks. -
addAction disappears when I respawn/die
xJordannx posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hi, every time I respawn or get killed etc, my addAction options will disappear, could anyone help? Thanks. -
addAction disappears when I respawn/die
xJordannx replied to xJordannx's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hi, I tried using an event handler but it didn't seem to work, would you mind explaining how I would create a file that keeps calling the addaction? Thanks. ---------- Post added at 22:12 ---------- Previous post was at 20:46 ---------- Found a fix myself, don't need help any more. -
Say3d heard all over the map
xJordannx replied to xJordannx's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
How am I ripping off LMC's code? -
Handcuff/uncuff script
xJordannx replied to xJordannx's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
That sounds great, thanks very much. -
What's wrong with this script?
xJordannx replied to xJordannx's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Doesn't seem to work -
What's wrong with this script?
xJordannx posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Init.sqf: masterUIDArray = ["########"]; if (getPlayerUID player in masterUIDArray) then { player addAction ["Spawn f35b", "Spawnf35b.sqf"]; }; Spawnf35b.sqf _vehicle = createVehicle ["F35B", getPos player, [], 20, "CAN_COLLIDE"]; Basically, I want it so the person with the UID has an option to spawn an F35B, and this won't show the "Spawn f35b" option. -
Say3d heard all over the map
xJordannx replied to xJordannx's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Ah, okay, cool. -
Say3d heard all over the map
xJordannx replied to xJordannx's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Found a problem with this, once a player gets into the radius with another player that has previously said a sound out of the radius, the player will hear everything he has previously said. -
Handcuff/uncuff script
xJordannx replied to xJordannx's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hey, thanks for that, I haven't tried it yet because I thought of something else that I'd like added with that. Basically, I want the person that's cuffed to have an option to "Break out of cuffs", which would take 15 secs and they'd be able to break out, do you think you could do this? Thanks. EDIT: I have a script to make the player put his hands on his head when he presses the 1 key: case 2: { player switchMove "AmovPercMstpSnonWnonDnon_AmovPercMstpSsurWnonDnon"; }; Would you also be able to make it so you can only Handcuff a player that has their hands on their head? Thanks. -
Disable keys for custom ingame keybinds
xJordannx posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hi, I was wondering if it was possible to disable a key's function, for example, if you press 1 on the numpad it will look to the left, but I have changed it so that when someone presses it, it says a sound, but it also looks to the left. So for this example I'd want to remove it looking to the left. -
Disable keys for custom ingame keybinds
xJordannx replied to xJordannx's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Could you explain how to do that? Thanks. -
Handcuff/uncuff script
xJordannx replied to xJordannx's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I tried searching but all I can seem to find is player on AI not player on player. -
What's wrong with this script?
xJordannx replied to xJordannx's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Could you explain how? -
What's wrong with this script?
xJordannx replied to xJordannx's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thanks, that works, but for some reason, when I respawn/die the option to spawn the f35b disappears, any idea why? -
What's wrong with this script?
xJordannx replied to xJordannx's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Works, thanks! But is there any way to make it so it's the UID instead of the name? -
ArmA 2 MP Admin tools, TP, spawn items/vehicles etc.
xJordannx posted a topic in ARMA 2 & OA : ADDONS - Configs & Scripting
Hi, I was wondering if there is any addon/script where it let's admins be able to spawn vehicles, spawn guns, teleport etc without the client needing any file to connect to the server. -
What's wrong with this script?
xJordannx replied to xJordannx's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I put my UID of course :P, I'm not THAT stupid haha XD I also tried: if nameOfPlayer == "xJordannx" then { player addAction ["Spawn f35b", "Spawnf35b.sqf"]; }; And the option for "Spawn f35b" still wouldn't show up, however I tried just: player addAction ["Spawn f35b", "Spawnf35b.sqf"]; And that worked, but I need it so only I can use it. -
Say3d heard all over the map
xJordannx replied to xJordannx's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Perfect, thanks very much. -
Say3d heard all over the map
xJordannx replied to xJordannx's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I have my sounds in a file called sounds.hpp. here is the file: class sound1 { name = "sound1"; sound[] = {"\music\sound1.ogg", 1, 1}; titles[] = {}; }; What would you recommend me changing the volume to? -
Looking for an admin spawner
xJordannx replied to Smoot178's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
So.. could somebody explain to me how to do it, sorry, I'm a noob at ArmA scripting :D -
Looking for an admin spawner
xJordannx replied to Smoot178's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Sorry for gravedigging this YEARS old post, but I am looking for the same thing and I was wondering if it's at all possible to do, and how? -
Tophe's Arma Dedicated Server Tool (TADST)
xJordannx replied to tophe's topic in ARMA 3 - SERVERS & ADMINISTRATION
Hi, I am getting 3 issues with TA2DST and would appreciate any help. 1) I can't run the server with BattlEye enabled, when I try to start it, it says "BattlEye initialization failed". 2) The ping is showing '2500' on the ArmA2 server list, which is not the correct ping. 3) When I am running the server, the arma2server.exe program will randomly close itself.