In the “say” command, we are able to have substitutable text like so:
I am wondering if there is any way to do this inside the source code itself?
For example, using the chatnodes that come with Mark Tilford’s “Simple Chat” extension, let’s say we have defined a chat-node for every NPC in the game;
And then we have defined some action that will lead the player to a chat node, and, naturally, the chat node that the player gets led toward depends on who the player is talking to - here’s an example:
This works quite nicely, but, purely for the sake of knowing, i wonder if there is a way to put substitutable text inside the source code somehow?
Is there any mechanism where the above action could be condensed to something of the formula:
Has anyone developed some clever way to do this?