Skip to content

Add select operation #10798

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Redstonneur1256
Copy link
Contributor

New instruction to quickly select between two variables without using jumps
Example usage:select result notEqual x false a b
image

Maybe Conditional Set (setcond) would be a better name, setcond does sound like changing a condition similarly to setprop/setrule

  • I have read the contribution guidelines.
  • I have ensured that my code compiles, if applicable.
  • I have ensured that any new features in this PR function correctly in-game, if applicable.

@The4codeblocks
Copy link
Contributor

you have problems with setcond?
how about condset?

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