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

[AngelScript] getEventBoolValue() doesn't work #3173

Open
Miner34dev opened this issue Aug 11, 2024 · 0 comments
Open

[AngelScript] getEventBoolValue() doesn't work #3173

Miner34dev opened this issue Aug 11, 2024 · 0 comments

Comments

@Miner34dev
Copy link

Rigs of Rods version: 2024.08-dev-017800f
OS: Garuda Linux

Example script:

void main() {}

void frameStep(float dt)
{
    if (inputs.getEventBoolValueBounce(EV_CAMERA_CHANGE))
    {
        game.log("Camera change detected");
    }
}

Pressing the camera change button (C by default), you will notice it doesn't say anything!
You can even try holding it down, but the result will not change.
The same happens with getEventBoolValue().

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

No branches or pull requests

1 participant