Hello. I am using this asset and I have a question.
My game has a conversation event, which can vary greatly depending on the character's abilities and other conditions.
However, since there is a condition that only one of the events that are True is checked after the conditions of the various dialogue events are checked, I want to make the condition to be checked in Lua by Conversation.
But I do not have a table but I want to save the information of the event in Dialogue Entry field during Conversation.
But I do not know how to access things like field or id in Dialogue Entry in Lua.
To summarize, I do not know how to access things like field or id in Dialogue Entry in Lua.
I want use Dialogue Entry Field value in Lua
Re: I want use Dialogue Entry Field value in Lua
Hello,
To conserve memory, dialogue entry fields are not in Lua. The only exception is the SimStatus field.
You can save information in variables or actor fields. Variables and actor fields are in Lua, and they're saved in saved games. Or you can register your own C# code with Lua and use it in the Conditions and Script fields.
I don't know if this is relevant, but you can also set priority levels on links.
To conserve memory, dialogue entry fields are not in Lua. The only exception is the SimStatus field.
You can save information in variables or actor fields. Variables and actor fields are in Lua, and they're saved in saved games. Or you can register your own C# code with Lua and use it in the Conditions and Script fields.
I don't know if this is relevant, but you can also set priority levels on links.