RigsOfRods / rigs-of-rods

Main development repository for Rigs of Rods soft-body physics simulator
https://www.rigsofrods.org
GNU General Public License v3.0
1.03k stars 178 forks source link

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

Open Miner34dev opened 3 months ago

Miner34dev commented 3 months ago

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().