-
Notifications
You must be signed in to change notification settings - Fork 740
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
Zeus - Don't trigger suicide bomber if unconsicous #6324
Conversation
prevent the detonation if the unit is unconscious. The suicider is not supposed to activate his bomb if is unconscious
This will break the module, because the bomber could pass out and wake back up and then never trigger |
I see! |
However, your point is right. You can add another |
I was also thinking about this solution ;) |
I'm probably going to extend the module to include a dead man's switch option anyway, so this will work for that once I get around to it 👍 |
I am pushing but do what you want with this! |
([_suicider] call ace_common_fnc_isAwake) this check will be useless if this is accepted acemod/ACE3#6324
Well if it's a dead-man switch. He would trigger when unconcious. |
Zeus - Don't trigger suicide bomber if unconsicous
Not sure if it is intended but this will prevent the detonation if the suicide bomber is unconscious. From my point of view, the suicider is not supposed to activate his bomb when he is unconscious. Let me know ...
When merged this pull request will:
[_unit] call EFUNC(common,isAwake)
before trigger the bomb.