Using a variable in dialogue
Posted: Wed Jan 25, 2017 3:04 pm
Heyo, I'm the lead dev on http://playadnc.com and we loved Dialogue System for Unity so much in our pre-alpha we're sticking with it for our finalized game framework. We currently use it with Chatmapper for comment threading with our editors.
Question: Is it possible to inject a variable with a text block of dialogue from Chatmapper as so below. It would be most ideal if I could do this with a Lua function or accessor since all of our variables pull from a custom database separate from Chatmapper.
Example: "Me and [PLAYER_NICKNAME] don't care! Nothing you can say will keep us here."
PLAYER_NICKNAME = Some anonymous variable string variable injected at run-time. We have some scenarios where we want the player to customize some overridable text instead of writing a ton of branching nodes.
If I have to write some custom logic or hit a hook before text is processed I know the Chatmapper source decently well (just let me know where to look). More than happy to custom code something in if I have to. If there is a pre-existing hook to do this that would be amazing.
PS Awesome looking source code, it helped me learn how to properly architect my own custom plugins.
Question: Is it possible to inject a variable with a text block of dialogue from Chatmapper as so below. It would be most ideal if I could do this with a Lua function or accessor since all of our variables pull from a custom database separate from Chatmapper.
Example: "Me and [PLAYER_NICKNAME] don't care! Nothing you can say will keep us here."
PLAYER_NICKNAME = Some anonymous variable string variable injected at run-time. We have some scenarios where we want the player to customize some overridable text instead of writing a ton of branching nodes.
If I have to write some custom logic or hit a hook before text is processed I know the Chatmapper source decently well (just let me know where to look). More than happy to custom code something in if I have to. If there is a pre-existing hook to do this that would be amazing.
PS Awesome looking source code, it helped me learn how to properly architect my own custom plugins.