Articy Forum


https://www.articy.com:443/forum/

Using a variable value in dialogue fragment text

https://www.articy.com:443/forum/viewtopic.php?f=33&t=18600

Page 1 of 1

Using a variable value in dialogue fragment text

Posted: Wed 26. Jun 2019, 04:15
by taylank
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.

Re: Using a variable value in dialogue fragment text

Posted: Wed 26. Jun 2019, 08:21
by [Articy] Nico Probst
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

Re: Using a variable value in dialogue fragment text

Posted: Tue 20. Aug 2019, 10:08
by crespo
Works for me. Thanks!

All times are UTC
Page 1 of 1