Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

visible in uncon? #76

Open
Quailsnap opened this issue Oct 24, 2018 · 3 comments
Open

visible in uncon? #76

Quailsnap opened this issue Oct 24, 2018 · 3 comments

Comments

@Quailsnap
Copy link
Owner

https://www.youtube.com/watch?v=BUlrrEAHUuM&t=5m9s

@Pi123263
Copy link

This could propably be fixed by adding something like

WHA_NAMETAGS_MOD_ACE = (isClass(configfile >> "CfgPatches" >> "ace_medical"));
to wha_nametags_checkMods.sqf to check if ace is active and

if (WHA_NAMETAGS_MOD_TFAR && _player getVariable ["ACE_isUnconscious", true]) then { exitWith{}};
to fn_onEachFrame.sqf

@Quailsnap
Copy link
Owner Author

Thank you! That's what I was thinking.

@Pi123263
Copy link

Tested it and the first part works fine and this is a working line for fn_onEachFrame.sqf:
if (WHA_NAMETAGS_MOD_ACE && _player getVariable ["ACE_isUnconscious", false]) exitWith {}; (Thanks to Terra on the arma discord!)

Pi123263 added a commit to Pi123263/WHA-Nametags that referenced this issue Feb 17, 2020
-Added detection for the ace medical config file
-Added an if clause that detects if the player is ace uncon and stops the name tag displaying if he is
Relevant Github issue: Quailsnap#76
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants