Find an event by name
DESK REFERENCE
Use these names in the Event Functions list and in your BASIC handler. To see the exact fields supplied by an event in your version, print its context when the event happens.
| Starting a game | OnGameStart, OnGlobalReady |
|---|---|
| Changing rooms | OnSceneLeaving, OnSceneLoaded |
| Player and control | OnPlayerChanged, OnCharacterControl |
| World interactions | OnInteraction, OnTriggerEntered, OnTriggerExited, OnAttachPointContact |
| Items and inventory | OnItemFound, OnInventoryChanged |
| Dialogue | OnDialogueStarted, OnDialogueEnded |
| Media playback | OnVideoEnd, OnMusicEnd |
| Loading a game | OnSaveLoaded |
| Your own messages | OnCustomEvent |
Choose the event that answers the question directly. For example, to show a line when the player steps into a trigger, subscribe to OnTriggerEntered. A room-load handler would run much earlier, when the room first appears.
