Search found 4 matches
- Sat Jul 09, 2022 6:38 pm
- Forum: Dialogue System for Unity
- Topic: Lua conditions that specify type and amount
- Replies: 7
- Views: 407
Re: Lua conditions that specify type and amount
Thank you! I'm not too far from the point where I can test it, Thank you for your help. sorry for my crazy specific problems and confusion, I'm kinda trying to slice into the middle of your system and jam my own code into the dialogue portion. Also this is my first time using lua. Thanks again!
- Sat Jul 09, 2022 5:51 pm
- Forum: Dialogue System for Unity
- Topic: Lua conditions that specify type and amount
- Replies: 7
- Views: 407
Re: Lua conditions that specify type and amount
I don't see how I could change the variables used in the conversation panel using setvariable(), I am already using that to populate the variables at runtime. in essence I am trying to do : varName = DemoStory.UID.ToString()(set at runtime) + "_Location_A"(from story template, I can type t...
- Sat Jul 09, 2022 12:40 pm
- Forum: Dialogue System for Unity
- Topic: Lua conditions that specify type and amount
- Replies: 7
- Views: 407
Re: Lua conditions that specify type and amount
Sorry, I have moved on from this approach already. I am now handling all the conditions myself, as I already have a custom version of your quest system called story system. I will be adding my own raycast buttons to each npc in the world space, I want them to trigger a specific conversation. I was t...
- Sat Jul 09, 2022 8:41 am
- Forum: Dialogue System for Unity
- Topic: Lua conditions that specify type and amount
- Replies: 7
- Views: 407
Lua conditions that specify type and amount
I need to trigger conditions for dialogues based on a number flag associated with a particular variable, for instance ("ItemInInventory_ThatOneItem", 20). I need to check for string equality, I need to be able to make numerical comparisons, and I need to be able to initialize the process f...