Jump to content

HazJ

Member
  • Content count

    2504
  • Joined

  • Last visited

  • Medals

  • Medals

Community Reputation

1074 Excellent

About HazJ

  • Rank
    Warrant Officer

core_pfieldgroups_3

  • Interests
    Gaming & Coding

Contact Methods

  • Website URL
    http://hazjohnson.com
  • Twitter
    https://twitter.com/hazj95
  • Youtube
    https://www.youtube.com/channel/UCFX5xzGBV1SLjPsEQnuD1qw
  • Steam url id
    http://steamcommunity.com/id/iamhaz/
  • MySpace
    Seriously... Who uses this anymore? lol!

Profile Information

  • Gender
    Male
  • Location
    Somewhere
  • Interests
    Programming, gaming, food and swimming!

Recent Profile Visitors

2516 profile views
  1. @pierremgi He wants a way to check user's mods and kick (I assume) if they aren't matching the parameter selected mod set. Without forcing addOns[] in mission.sqm. Only way I know is what @Dedmen said.
  2. Does that not work? What are you trying to do? Check if a or all child task(s) are complete? Maybe try: (taskChildren "task_1" select 0) call BIS_fnc_taskCompleted // also not tested: {_x call BIS_fnc_taskCompleted} count (taskChildren "task_1")
  3. Not tested but something like this perhaps? waitUntil {count ("task_1" call BIS_fnc_taskChildren) isEqualTo 0};
  4. CtrlSetPosition (x,y)

    Anyone got any ideas? Still looking for a solution. @Larrow perhaps? EDIT: Added code (sloppy). ["tacHUD", "onEachFrame", { _players = allUnits - (entities "HeadlessClient_F"); { _namePos = (_x modelToWorldVisual (_x selectionPosition "head")); _namePos set [2, 2.08]; _healthPos = (_x modelToWorldVisual (_x selectionPosition "spine3")); _healthColour = if (damage _x isEqualTo 0) then {[0, 1, 0, 1]} else {[0.87, 0.5, 0, 1]}; if (damage _x >= 0.85) then {_healthColour = [1, 0, 0, 1];}; _size = (0.55 / (getResolution select 5) * 1); if (!isNull _x && !(lifeState _x isEqualTo "INCAPACITATED") && {_x distance getPosATL player <= 25 && _x distance getPosATL player > 1}) then { drawIcon3D ["", [1, 1, 1, 1], _namePos, _size, _size, 0, format ["%1", name _x], 1, 0.03, "RobotoCondensed"]; drawIcon3D ["", _healthColour, _healthPos, _size, _size, 0, format ["%1%2", round ((1 - (damage _x)) * 100), "%"], 1, 0.03, "RobotoCondensed"]; drawLine3D [(player modelToWorldVisual (player selectionPosition "spine1")), (_x modelToWorldVisual (_x selectionPosition "spine1")), [0, 1, 0, 1]]; }; } forEach _players; }] call BIS_fnc_addStackedEventHandler;
  5. Yeah if it worked hehe. So, in short, you just want to disable damage on collision? If you just wanted no damage at all and only AA missile / weapons damage then you could of used Hit EH too to set damage accordingly. Seems a lot of hassle though, could just not crash into things haha!
  6. You could use ctrlText to show some message.
  7. What do you mean exactly? Are you sure you got this right? Unpacked mission folders in missions folder self PBO but I never do this nor recommend it. Debug console is a great tool for stuff on the fly and fixing issues, etc - can save a lot of time. I use VS Code too, amazing! Do you use the extensions? I recommend: I use this for RPT viewer: https://www.baremetalsoft.com/baretail/ Very useful. I have skipped a lot of your questions as tired, will come back later and answer the rest probably. The Git process is very simple. Create repo, commit/push. I usually have it on the server too, then pull latest and PBO there.
  8. You could try messing with: https://community.bistudio.com/wiki/activateAddons
  9. If you are having a mods parameter then just them let decide? Set default to vanilla. You can check if a user is running mod if you know the mod(s) you want - See configClasses command. https://community.bistudio.com/wiki/configClasses These return which mods you have loaded: https://community.bistudio.com/wiki/configSourceModList https://community.bistudio.com/wiki/configSourceAddonList
  10. If you want no damage at all, which appears to be what you want. Why not just simply use allowDamage command? https://community.bistudio.com/wiki/allowDamage I think the reason is that the HandleDamage EH triggers way too fast and multiple times. There is also disableCollisonWith but requires two objects. Don't think you can pass EVERYTHING so this isn't any help in this case. https://community.bistudio.com/wiki/disableCollisionWith
  11. CtrlSetPosition (x,y)

    Instead of creating new thread, thought I'd ask here. Using drawLine3D and am wondering how to made it see able at night time? Doesn't make a difference on how bright the colour is, when completely dark, it renders invisible (except in NV).
  12. There is also RscPictureKeepAspect type which may also be worth noting.
  13. Your question was not provided clearly. You asked for animated/clickable markers which is what you got. I sadly can't read.
×