inkle / inkle/ink

Checking if a dialogue line leads to an external function call

Open
#786 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.9k
Forks
540
PR merge metrics
No merged PRs in 30d

Description

I'd like to display certain information next to a dialogue line in my UI depending on whether the dialogue line leads to an external function call.

```
Character A: Some question

*[Character B: Some Answer {ChangeRelation("Character A", "Character B", integerValue)}
```

In order to do that I need to flag these responses on the game side as responses that lead to an external function call.

I've been trying to find a way to retrieve this information at runtime but it seems that the answers themselves have no direct connection to the call but rather point to a different object in the content that contains the information regarding the external function call.

My question is: is it possible to retrieve this information and if so, what would be the best way to approach it?

(I am aware that I can just tag these lines, I'm looking for a solution that doesn't involve tags)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.