Search found 110 matches
- Thu Nov 02, 2023 2:38 am
- Forum: Dialogue System for Unity
- Topic: Node (Dialogue entry) template feature?
- Replies: 1
- Views: 349
Node (Dialogue entry) template feature?
Hi Tony Often when I'm editing conversations, adding all kinds dialogue entries, I have found a need that if I could define some node templates. For instance, There are 3 response menu (nodes) and I use a script to control them to show/hide based on runtime logics. And when all these 3 entries are s...
- Sat Oct 21, 2023 2:21 pm
- Forum: Dialogue System for Unity
- Topic: Copy event is not working on some of the components
- Replies: 3
- Views: 9862
Copy event is not working on some of the components
Hi Tony, after upgrading to unity 2022.3x LTS, some of your components, for instance, triggerEvent, I cannot right click on the event() field and copy the event persistented values any more. But in dialogue editor conversation tab, for event and scene events, I'm still able to do the copy/paste part...
- Sat Mar 18, 2023 12:29 am
- Forum: Dialogue System for Unity
- Topic: get variables from saved without applying to database?
- Replies: 14
- Views: 1618
Re: get variables from saved without applying to database?
that's exactly what causing the problem, thank you again
- Thu Mar 16, 2023 12:50 am
- Forum: Dialogue System for Unity
- Topic: get variables from saved without applying to database?
- Replies: 14
- Views: 1618
Re: get variables from saved without applying to database?
Hi Tony, your demo runs fine, so I guess it must be something from my code. by adding few debug in Assignments.cs, I have found the error might relates to the conversation[x] parts from the saved log here are my conversation[x] records looks like in the savedData Conversation[1].SimX="1;u;2;u;3...
- Wed Mar 15, 2023 10:26 am
- Forum: Dialogue System for Unity
- Topic: get variables from saved without applying to database?
- Replies: 14
- Views: 1618
Re: get variables from saved without applying to database?
Hi Tony, tks for the reply I'm still getting the same null error from lua one thing that I can think of is that in my savedData, items records are like this: Item["test_Data"].State="active"; Item["test_Data"].Track=true; Item["test_Data"].Entry_1_State="...
- Sun Mar 12, 2023 1:21 am
- Forum: Dialogue System for Unity
- Topic: get variables from saved without applying to database?
- Replies: 14
- Views: 1618
Re: get variables from saved without applying to database?
Hi Tony, I'm still getting an error after adding the additional line NullReferenceException: Cannot assign to a null value. Are you trying to assign to a nonexistent table element? I think it has something to do with the Item={} part, from the savedData string, there is no Item={...}, it's not like ...
- Sat Mar 11, 2023 10:27 am
- Forum: Dialogue System for Unity
- Topic: get variables from saved without applying to database?
- Replies: 14
- Views: 1618
Re: get variables from saved without applying to database?
Sorry but I got another issue after I call the temp environment in runtime I got error when running the second line (filling saveData) var tempLuaEnvironment = Language.Lua.LuaInterpreter.CreateGlobalEnviroment(); Language.Lua.LuaInterpreter.Interpreter(saveData, tempLuaEnvironment); Error Message: ...
- Sat Mar 11, 2023 10:14 am
- Forum: Dialogue System for Unity
- Topic: get variables from saved without applying to database?
- Replies: 14
- Views: 1618
Re: get variables from saved without applying to database?
tks, that work ![Smile :)](./images/smilies/icon_e_smile.gif)
a follow up question, once I get what I need from that temporary Lua environment, do I need to do anything to dispose/destroy the temporary Lua environment?
![Smile :)](./images/smilies/icon_e_smile.gif)
a follow up question, once I get what I need from that temporary Lua environment, do I need to do anything to dispose/destroy the temporary Lua environment?
- Fri Mar 10, 2023 10:58 am
- Forum: Dialogue System for Unity
- Topic: get variables from saved without applying to database?
- Replies: 14
- Views: 1618
get variables from saved without applying to database?
Hi Tony In my project, I use PersistentDataManager.ApplySaveData(PlayerPrefs.GetString(slotname)) to apply all variables, items, actor, etc to dialogue database, that works perfectly. However, say if I need to debug something during developing, I want to get Variables or Items that has saved in on s...
- Thu Mar 02, 2023 11:12 am
- Forum: Dialogue System for Unity
- Topic: Logics between quest and item?
- Replies: 7
- Views: 804
Re: Logics between quest and item?
Perfect, that helps a lot, thanks Tony