

Mr H.
Member-
Content Count
597 -
Joined
-
Last visited
-
Medals
Everything posted by Mr H.
-
Object namespace or similar functionality.
Mr H. replied to Ivanoff.N's topic in ARMA 3 - MISSION EDITING & SCRIPTING
_directions = { if (_x == typeOf "Land_camping_light) then {getdir _x;}} forEach (allMissionObjects ""); copytoclipboard _directions; Not tested, just an idea, it might not work.- 17 replies
-
- namespace
- obejct data
-
(and 1 more)
Tagged with:
-
Unable to use RHS artillery
Mr H. replied to georgischer Maschinengewehr's topic in ARMA 3 - MISSION EDITING & SCRIPTING
also if you're using ace 3 note that if you have disabled the artillery computer for players and/or enabled manual reload from the ace 3 artillery module, AI won't fire. -
get Eden role description in script
Mr H. replied to Mr H.'s topic in ARMA 3 - MISSION EDITING & SCRIPTING
I did mention that get description wasn't doing what I wanted but roledescription is what I was looking for! thank you!!- 2 replies
-
- role
- description
-
(and 2 more)
Tagged with:
-
Does anybody know how to get the value set in the eden "role description" (which shows in the lobby) in a script? (getDescription does something completely different)
- 2 replies
-
- role
- description
-
(and 2 more)
Tagged with:
-
Role assignment listing in lobby (fireteam and players)
Mr H. replied to logitrust's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Stumbled upon this, just a comment for future reference: if you have CBA 3 in the role description of your group leader write @TEAMNAME right after its role. For example if you describe your group leader rifleman@SUPERWARRIORS it will show as SUPERWARRIORS (Instead of Alpha 1-1 or whatever default name arma gives to the group) Rifleman In the lobby. (only works with cba3 enabled) -
Better explanation on finddisplay 46
Mr H. replied to Mr H.'s topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks, without the loop, it didn't work, I have no clue why, but I found a completely different solution using CBA's keybind fnc -
Hi so I have this script which detects keystrokes and calls for another script waituntil {!(IsNull (findDisplay 46))}; key_ctrl = 29; key_star = 55; pressed_ctrl = false; pressed_star = false; (findDisplay 46) displayAddEventHandler ["KeyDown", "if (_this select 1 == key_ctrl) then {pressed_ctrl = true;}, if (_this select 1 == key_star) then {pressed_star = true;}"]; (findDisplay 46) displayAddEventHandler ["KeyUp", "if (_this select 1 == key_ctrl) then {pressed_ctrl = false;}, if (_this select 1 == key_star) then {pressed_star = false;}"]; while {true} do { if (pressed_ctrl && pressed_star) then { startscript = true}; if (startscript) then {roster = []execVM "MRHRoster\rosterscript.sqf"; startscript = false;}; }; Now, trouble is it uses display 46, and the loop seems to mess big time with any other script using display 46. I am trying to call a visual interface (made with GUI editor) for instance, and when this script is running the interface won't close. So i'd like to create a new display, but the documentation is very unclear, it says I need to create a new display in the description.ext I have tried this : class RscDisplayNew { idd=77; scriptName = "RscDisplayNew"; }; to no avail.... What am I doing wrong?
-
MP Execute script only for players within a certain distance.
Mr H. replied to Mr H.'s topic in ARMA 3 - MISSION EDITING & SCRIPTING
It works perfectly thanks! + It's a very clever way to do it, I wouldn't have thought of it myself!- 7 replies
-
- multiplayer
- script
-
(and 2 more)
Tagged with:
-
MP Execute script only for players within a certain distance.
Mr H. replied to Mr H.'s topic in ARMA 3 - MISSION EDITING & SCRIPTING
I will try that immediatly thanks!- 7 replies
-
- multiplayer
- script
-
(and 2 more)
Tagged with:
-
MP Execute script only for players within a certain distance.
Mr H. replied to Mr H.'s topic in ARMA 3 - MISSION EDITING & SCRIPTING
_list = anastasia nearEntities ["Man", 10]; {0= [] execVM "fnc\dialogue1.sqf";} forEach _list; this doesn't work- 7 replies
-
- multiplayer
- script
-
(and 2 more)
Tagged with:
-
Hi, I'd like to know if there's a workaround to the fact that changing zombies uniforms disables their animations (and therefore any movement)? Because I'd like to use Frith Ruins gear on zombies.