Using a variable value in dialogue fragment text

Wed 26. Jun 2019, 04:15

Is it possible to insert the value of a variable into a dialogue fragment's text?
Example: "You have [NameSpace.GoldAmount] gold pieces. Let's see what we can find for your budget." --> This would get evaluated to "You have 50 gold pieces..." etc.
taylank
 
Posts: 4
Joined: Tue 25. Jun 2019, 00:31

Re: Using a variable value in dialogue fragment text

Wed 26. Jun 2019, 08:21

Hi taylank,

if you use articy:draft to export to unity using our unity importer plugin, then yes its part of a bunch of features regarding text.
See this to get a better idea.

Best regards

Nico
Nico Probst
Senior Software Engineer | Articy | LinkedIn
User avatar
[Articy] Nico Probst
Articy Staff
Articy Staff
 
Posts: 217
Joined: Wed 23. Nov 2011, 09:45
Location: Bochum

Re: Using a variable value in dialogue fragment text

Tue 20. Aug 2019, 10:08

Works for me. Thanks!
Yes, I'm feeling safe about playing here. I need to try mega joker. I'm glad that all the needful info is there. This is superb, huh?
crespo
 
Posts: 1
Joined: Tue 20. Aug 2019, 10:07

Return to Technical Discussion

Who is online

Users browsing this forum: No registered users and 13 guests

Who We Are
Contact Us
Social Links