VNyan triggers
vnyan_triggerCall, queue, or reset named triggers in VNyan, and read recent trigger calls to manage avatar reactions.
Instructions
Call, queue, or reset VNyan's named Triggers (global across all node graphs - a TriggerNode with this name fires), and read recently-observed trigger calls. Source: plugin (live, read+write). 'recent' only sees calls made since the plugin loaded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Trigger name (required for call/enqueue) | |
| limit | No | Max entries for 'recent' (default 50) | |
| queue | No | Queue name (required for enqueue/resetQueue) | |
| text1 | No | Text param 1 - a free string, use this for decimals/precise values | |
| text2 | No | Text param 2 - a free string | |
| text3 | No | Text param 3 - a free string | |
| action | Yes | Which trigger operation to perform | |
| value1 | No | Numeric param 1, passed to the TriggerNode as a whole INTEGER (truncates fractions - e.g. 2.5 arrives as 2). For a precise decimal, use text1-3 instead and convert on the receiving end with a TextToDecimalNode (see vnyan_guide topic:'node-authoring'). | |
| value2 | No | Numeric param 2 - same int-truncation caveat as value1 | |
| value3 | No | Numeric param 3 - same int-truncation caveat as value1 | |
| waitTimeAfterMs | No | For 'enqueue': milliseconds to wait after this item runs before the queue dequeues the next one. |