Skip to reading
Action Lists & Events

OnEvent

Edition 0.86.4.3

0.86.4.3 edition with revised lessons, updated cross-references and new cinematic/camera-safety supplements. Earlier examples, screenshots and registry figures retain their stated edition context.

Download PDFView PDF page

An automatic graph entry for the exact selected shared event name.

You do not also need a Run Visual Script call to make this subscription listen. The picker exposes 15 names; the text-script subscription panel has 18.

Source table from OnEvent, page 56
Field / stored keyInputDefault where specified
Event eventNameChoose: OnGameStart, OnSceneLoaded, OnSceneLeaving, OnPlayerChanged, OnCharacterControl, OnItemFound, OnDialogueStarted, OnDialogueEnded, OnInventoryChanged, OnSaveLoaded, OnCustomEvent, OnInteraction, OnTriggerEntered, OnTriggerExited, OnAttachPointContact.-

IfCompare#

Compare two resolved values with ==, !=, <, <=, > or >=.

For score >= 10, use {"$var":"score"}, >= and numeric 10. Text ordering is not numeric ordering.

Source table from OnEvent, page 56
Field / stored keyInputDefault where specified
Left leftA typed value or valid JSON.{"$var": "score"}
Compare operatorChoose: ==, !=, <, <=, >, >=.-
Right rightA typed value or valid JSON.1
Page 56 of 189Permalink
Go to page