Jump to content
  • Create New...

[Solved] IsControlJustReleased don't work

Recommended Posts

Hello everyone,

I'm doing a interactive callout for Christmas. But when I want to check if a controller is just released, nothing work. I don't know if I'm doing something wrong or if it's just buggy but anyway, here is what i wrote : 

private async Task OnTick()
            await BaseScript.Delay(1000);
            if (_askReady)
                Screen.ShowNotification("~y~Pressez ~r~K~y~ pour indiquer au Père Noël que vous êtes prêts.");
                Screen.ShowNotification("askready = true");
                if (API.IsControlJustReleased(0, 311))
                    Screen.ShowSubtitle("~y~Père Noël : ~w~Qu'est ce que vous attendez ? Allons-y maintenant alors !.",5000);

The script is just supposed to display a dialog message when the key is pressed but nothing happens.
I still checked if I entered my first condition by displaying "askready = true" but it is indeed the case.


Does anyone have any idea where the problem is coming from?


Thank you in advance

Edited by Bonjou
Link to post
Share on other sites
  • Bonjou changed the title to [Solved] IsControlJustReleased don't work

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

Important Information

Please view the site: Terms of Use, Privacy Policy, and Guidelines. // IMPORTANT: We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.