Hi,
I'm currently using the demo version while I figure out if I want to use Dialogue System for Unity for my project.
I'm using Arcity to write the script but when I want to update or check using player or object characteristics it doesn't work.
So for example, here I'm trying to set my player character to have the "Technopath" skill set to true if a certain sequence of events happens.
setProp(getObj("player.Skills.Technopathic"),"Skills.Technopathic",true)
This doesn't seem to want to work within dialogue system for whatever reason even though I'm pretty sure it can work. So I must be doing something wrong!
How to use getObj, getProp, setProp from Arcity
-
- Posts: 2
- Joined: Sun Nov 03, 2024 5:46 pm
Re: How to use getObj, getProp, setProp from Arcity
Hi,
To use getObj(), getProp(), setProp(), and speaker as detailed in "Accessing objects, properties and templates" add an Articy Lua Functions component to your Dialogue Manager (Component → Dialogue System → Third Party → articy:draft → Articy Lua Functions).
To use getObj(), getProp(), setProp(), and speaker as detailed in "Accessing objects, properties and templates" add an Articy Lua Functions component to your Dialogue Manager (Component → Dialogue System → Third Party → articy:draft → Articy Lua Functions).
-
- Posts: 2
- Joined: Sun Nov 03, 2024 5:46 pm
Re: How to use getObj, getProp, setProp from Arcity
Thank you I've got it working!
Re: How to use getObj, getProp, setProp from Arcity
Glad to help!