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

Add PLAYERDIED built-in label to detect player death. #399

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

AliceLR
Copy link
Owner

@AliceLR AliceLR commented Dec 13, 2023

Adds a playerdied label with the following properties:

  • Is sent when the built-in player dies, i.e. when HEALTH is 0 and LIVES is greater than 0 at the end of a cycle. This occurs when taking damage or when the endlife command is used.
  • Is not sent when LIVES is changed via Robotic.
  • Is sent on the board the player dies on.
  • Is received the following cycle, since player death is one of the last things to occur in the cycle.
  • Also has a subroutine version.

@AliceLR AliceLR added this to the 2.93 milestone Dec 13, 2023
@AliceLR AliceLR merged commit eff78ed into master Dec 13, 2023
14 checks passed
@AliceLR AliceLR deleted the add-playerdied branch December 13, 2023 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant