Can the NPC modify variables?

Original Discord Post by mattiavitali | 2024-11-05 16:05:58

Hi! I loved the new update; you’re doing a fantastic job. I especially love the new Dynamic Config feature, and I was wondering if the parameters initialized within the DynamicInfoController could be modified at runtime by the NPC. Or, if not, are there any plans to add something like this in the future? Thanks so much for all the hard work you’re putting in!

Reply by k3kalinix | 2024-11-05 16:59:41

Hello <@498630998481829898>,

Could you please share an example?

Reply by mattiavitali | 2024-11-05 18:11:28

Hi <@1023671043287699568> Of course, here’s an example: I have a variable in the DynamicInfoController like {favouriteCityName}. If the user says that {x city} is their favorite city, the NPC updates {favouriteCityName} to {x city}.

Reply by k3kalinix | 2024-11-05 23:06:46

Hello <@498630998481829898> :wave:t2:,

Unfortunately this is not possible.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.