Skip to reading
The GUI Designer

Click activation and deliberate menu calls

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView illustrations

Click activation watches the game screen for the chosen click type. It is useful for a contextual verb menu, but it needs to fit the way you already use world clicks.

Figure 26. A click-activated GUI can stop the character's current movement and open at the clicked coordinates.

Source table from Click activation and deliberate menu calls, page 30
OptionWhat it changes
Stop Character Activity When OpenedStops current walking/movement when this click activation opens the GUI.
Open at Mouse CoordinatesPlaces the small GUI at the clicked screen point. It is not a way to relocate a full-screen HUD.

Matching scene-object click events can take priority, so a screen-wide opener should not be assumed to override every authored object action. Test clicks on empty floor, on an interactable object and over an existing GUI.

Use an explicit call when it is clearer#

For an ordinary Menu button, keep the menu trigger-controlled and use Show GUI. Use Hide GUI for the close/return path and Toggle GUI only when the same control should open or close it according to its current state.

Showing and hiding are different from enabling and disabling. A disabled GUI or element can remain visible. Use the matching action for the change you actually want.

Page 30 of 57Permalink
Go to page