Skip to reading
Error Handling & Debugging

Find where a button click disappears

Edition 0.86.4.4 Hotfix 2

Updated through 0.86.4.4 Hotfix 2, with cinematic property, recorded-pose or voice-timing lessons as described in this guide. Earlier examples, screenshots and complete registry figures retain their stated edition context.

Download PDFView illustrations

GUI AND INPUT

A button can look correct while pointing to the wrong script. A script can run correctly while writing its answer to a label the player cannot see.

The Events inspector for a GUI button. Click chooses a behavior. Click Target identifies the record that should receive it.

Source table from Find where a button click disappears, page 13
1. Did the button receive input?Confirm the GUI is open, the element is visible and enabled, and another overlay is not taking the click. Minimize the preview console before retesting.
2. Did the expected record start?Select the button in GUI Designer and check its Events settings. Compare the Click Target with the script ID. Add a distinctive first log line to that script.
3. What did the script read?Log the GUI ID, element ID and raw text. Distinguish an empty string from a missing control that returned your chosen fallback.
4. Where did the answer go?Read back the reply label’s text after setting it. If the value is correct but the player sees old text, inspect the visible GUI, label and any later update.

In the pictured direction prompt, blank input produced “Type a direction.” The wrong word produced “Read the sign again.” Input with spaces and mixed case still produced “The latch clicks.” Those three answers let you check the whole route from a click to a visible result.

Page 13 of 37Permalink
Go to page