mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-27 16:49:31 +00:00
[api] add LuaText and document built-in event data
This commit is contained in:
parent
876135401c
commit
77c6ac6ba2
10 changed files with 391 additions and 49 deletions
|
|
@ -887,6 +887,8 @@ A text event value can be created using the [text literal](#text). A text is wri
|
|||
text!
|
||||
```
|
||||
|
||||
How the data returned by a Text event is structured is detailled in the [API documentation](api.md#texteventdata).
|
||||
|
||||
### Choices
|
||||
|
||||
Choice events are intended to represent a player choice in the host game. Each choice event in the buffer list is intended to represent a distinct choice.
|
||||
|
|
@ -902,6 +904,8 @@ A choice event can be written to the buffer using the `*_` operator on a text ev
|
|||
| Choice B has been selected.
|
||||
```
|
||||
|
||||
How the data returned by a Text event is structured is detailled in the [API documentation](api.md#choiceeventdata).
|
||||
|
||||
### Tags
|
||||
|
||||
Text and choice events can also carry metadata through tags. Tags are stored as a [struct](#struct).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue