Jump to content

Mr H.

  • Content Count

  • Joined

  • Last visited

  • Medals

Everything posted by Mr H.

  1. _directions = { if (_x == typeOf "Land_camping_light) then {getdir _x;}} forEach (allMissionObjects ""); copytoclipboard _directions; Not tested, just an idea, it might not work.
  2. Mr H.

    Unable to use RHS artillery

    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.
  3. I did mention that get description wasn't doing what I wanted but roledescription is what I was looking for! thank you!!
  4. 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)
  5. 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)
  6. 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
  7. 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?
  8. It works perfectly thanks! + It's a very clever way to do it, I wouldn't have thought of it myself!
  9. _list = anastasia nearEntities ["Man", 10]; {0= [] execVM "fnc\dialogue1.sqf";} forEach _list; this doesn't work
  10. Mr H.

    Zombies & Demons 5.0

    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.