Jump to content


  • Content Count

  • Joined

  • Last visited

  • Medals

Community Reputation

27 Excellent


About panther42

  • Rank
    Master Sergeant
  1. @z1_ have you looked at some of the civilian scripts by the community instead of these #$%@ modules by BIS? If not, I can give you some recommendations, or possibly modifications I've done to a couple of my favorites.
  2. panther42

    About distances

    @pierremgi I usually just use distance2D for my calculations between flying helicopter and specific point I'm using on the map. The link gives a good picture, which I'm sure you have seen. Difference? Probably only minimal.
  3. another option:
  4. @Rook Mk1, unfortunately I was just reading a forum post on this yesterday, but cannot find the exact one yet. This post may offer some information, until I, or someone else, offers the rest...
  5. @pierremgi I'm not sure you understood what I asked. I'm not looking to modify your Modules. It was a suggested request/improvement for you. Save time for user. Side>>Faction>>(Infantry/Motorized/Mechanized/etc.)>>Group Pulled from config, instead of user verifying correct config and typing/copying. Your module could provide the available options in drop downs. For instance, let me give you an example of some output from a script I was messing with: Or, better yet, @gc8 has this type of info populated in one of his projects. Should not be very difficult to implement. Just a suggestion, as I know each author has their own reasons for why they do things as they do.
  6. @pierremgi good stuff here. Have not tested completely, but any chance you could change the module to pull Faction, Type, and Specific Group from drop down via reading the config itself? I've done some testing on this myself, and seems doable, but didn't know if you've tried this, and ran into issues.
  7. Perhaps @Larrow post can help you here. See bottom section.
  8. Other option @johnnyboy, DON'T GET HIT. 😁 May be other options with selectLeader, setLeader, etc., to move command away from player, then back quickly so your AI units don't blow everything. However, If you've been hit, you're cover is already probably blown... I really only use a homebrew mod of Psycho's medical. I never noticed the same issue as you have, but should try it. I should also try @pierremgi medical, as he has some good stuff / well versed coder.
  9. @johnnyboy without testing, does the last note in setUnitPos help at all via setUnitCombatMode? It mentions setCombatMode, but that is for group.
  10. panther42

    Help with set/get variable

    @Robustcolor, @pierremgi has what you should need above. I was thinking more of running through once, and if (false) make the variable "true": { if !(_x getVariable ["Test", false]) then { _x setVariable ["Test", true]; _x setSkill 1; }; } forEach allUnits; several ways to accomplish. Above will skip the then {code} if already set to "true"
  11. panther42

    Help with set/get variable

    @Robustcolor How did you verify allUnits variable "Test" prior to running above code, and after running above code? Did you verify none of them had previous variable "Test" assigned? The first code will run, but unless a unit variable "Test" has previously been set to "true", the code in then {} should not run.
  12. panther42

    Help with set/get variable

    All you need is the second example you gave. First one is redundant in the fact you are checking if(true) then {something}. No need for == true. Also, you are NOT adding that variable to the _veh as you state. You are ONLY giving a default answer if the _veh does NOT have the variable assigned via setVariable. I.E. the returned value for if() is false. Code will not run unless you if !().
  13. I happen to have downloaded this, back when it was available, but never used it. After looking through the scripts quickly, with a program like FileLocator Lite (free)/Pro, you will find the function "fnc_RemoveWayPoints", and it being called in several other scripts. Specifically, this function is called multiple times from "fnc_GAIA_Issue orders". Not certain if your group was handed off to GAIA from the outset? This is just a quick look to give you a starting point at least. Again, I've never used this, but any help is better than none.
  14. @froggyluv did you try this by removing the "hint" and just use t = str format ["This soldier's concealment level is %1",_c];?
  15. panther42

    Condition OR

    Happy to assist.