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

function to convert numbers to boolean and vice versa (0 and 1) #1681

Open
kiki727 opened this issue Aug 10, 2024 · 1 comment
Open

function to convert numbers to boolean and vice versa (0 and 1) #1681

kiki727 opened this issue Aug 10, 2024 · 1 comment
Labels

Comments

@kiki727
Copy link

kiki727 commented Aug 10, 2024

Mods (complete and add to the following information):

  • Arma 3: x.xx [e.g. 1.00 stable, rc, dev]
  • CBA: 3.x.x [e.g. 3.0.0 stable, commit hash]
    Make sure to reproduce the issue with only CBA on a newly created mission!

Description:
A clear and concise description of what the bug is.

Steps to reproduce:

  • Go to ...
  • Click ...
  • See ...

Expected behavior:
A clear and concise description of what you expected to happen.

Where did the issue occur?

  • Dedicated / Self-Hosted Multiplayer / Singleplayer / Editor (Singleplayer) / Editor (Multiplayer) / Virtual Arsenal

Log Files:

  • Link to (gist or pastebin) to the client and/or server RPT file. An instruction to find your RPT files can be found here.

Additional context:
Add any other context about the problem here.

Screenshots:
If applicable, add screenshots to help explain your problem.

@kiki727 kiki727 added the Bug label Aug 10, 2024
@jokoho48
Copy link
Member

jokoho48 commented Aug 10, 2024

Why would this need a function when you have more than enough ways to easily do this via mainly 1 script command?

parseNumber _bool;
_number == 1
_number isEqualTo 1
_number != 0
_number isNotEqualTo 0

also not a bug...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants