How to use getObj, getProp, setProp from Arcity
Posted: Sun Nov 03, 2024 5:54 pm
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!
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!