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

Prototyp OPT Revive system #214

Open
wants to merge 27 commits into
base: master
Choose a base branch
from

Conversation

GNCLORD-MDB
Copy link
Collaborator

Neues eigenes Revive System mit Steuerung und ohne Nutzung des BIS REVIVE Systems

@@ -58,8 +58,9 @@ DFUNC(HandleDamage) =
if (_unit isEqualTo player && isNil QGVAR(unconsciousHandler) && _damage >= MAX_DAMAGE && !(_selection in ["arms", "hands", "legs"])) then
{
// Spieler bewusstlos machen und weiteren Schaden ausblenden
player setDamage 0.5;
player setDamage GVAR(levelreviveaktiv);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

besser die nächste zeile mit allowDamage false hier vor ausführen, also zeilen tauschen. sonst haste einen klitzekleinen moment der sterblichkeit :)

@formtapez
Copy link
Collaborator

formtapez commented Jul 2, 2022

ich hab im code jetzt nichts bzgl. funk-abschaltung beim sterben gefunden. sowas hier:

        // TFAR deaktivieren und aktive Übertragung abbrechen
        player setVariable ["tf_unable_to_use_radio", true];
        call TFAR_fnc_onSwTangentReleased;
        call TFAR_fnc_onLRTangentReleased;

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

Successfully merging this pull request may close these issues.

2 participants