Search found 2 matches

by crossgoune
Tue Apr 04, 2023 4:04 pm
Forum: Dialogue System for Unity
Topic: DialogueLua.GetActorField giving wrong value
Replies: 3
Views: 181

Re: DialogueLua.GetActorField giving wrong value

Thanks for the reply, the lua console doesn't show me the value but the field name is right. "ImageName = null" is what is giving me and it should give me "signature" instead. The C# code I'm using is: DialogueLua.GetActorField("Character", "ImageName").AsStri...
by crossgoune
Tue Apr 04, 2023 10:06 am
Forum: Dialogue System for Unity
Topic: DialogueLua.GetActorField giving wrong value
Replies: 3
Views: 181

DialogueLua.GetActorField giving wrong value

Hello, the GetActorField method keeps giving me the value of a field as empty even though in the database has a value. At first I thought I was giving the field name wrong but after debugging I found out that the Actor Lua table actually had the value as null. Why does this happen?