Search found 10 matches

by AvalonGames
Sun Nov 12, 2023 1:13 pm
Forum: Dialogue System for Unity
Topic: Custom Lua Functions - Adding Enum as a Parameter
Replies: 1
Views: 309

Custom Lua Functions - Adding Enum as a Parameter

Hey!

I was wondering if it was possible to pass in an enum as a parameter for custom Lua Functions. Or as an alternative, what is the best way to go about this issue.
gameState.png
gameState.png (4.81 KiB) Viewed 309 times
I have a function in my CustomLuaFunctions script and was wondering if this was possible.

Cheers!
by AvalonGames
Tue Apr 25, 2023 5:00 pm
Forum: Dialogue System for Unity
Topic: LUA Function - Object does not match Target Type
Replies: 5
Views: 253

Re: LUA Function - Object does not match Target Type

Ohh, I understanding what's happening now :) Thanks for explaining.

Also I agree, I think it is easier to just do as you suggested!
by AvalonGames
Tue Apr 25, 2023 4:18 pm
Forum: Dialogue System for Unity
Topic: LUA Function - Object does not match Target Type
Replies: 5
Views: 253

Re: LUA Function - Object does not match Target Type

Hey Tony, Thanks as always, this way works and fixes the issue I'm having, but I was wondering why calling the method directly from the Scriptable Object seems to cause an error? Correct me if I'm wrong, but from my understanding with OOP if you need a behavior to change properties of an object you’...
by AvalonGames
Tue Apr 25, 2023 3:33 pm
Forum: Dialogue System for Unity
Topic: LUA Function - Object does not match Target Type
Replies: 5
Views: 253

LUA Function - Object does not match Target Type

Hey Tony, I was trying to register my custom Methods and followed your tutorial : Connecting C# Methods to LUA. So I wrote similar code as shown below LUA.png I registered 3 methods to test. The first two are calling LevelUp() and GainExp() from a Character ScriptableObject, and GainXp is calling a ...
by AvalonGames
Sun Apr 16, 2023 10:52 pm
Forum: Dialogue System for Unity
Topic: Is it better to use BoxColliders or Custom Scripts with Dialogue System
Replies: 3
Views: 182

Re: Is it better to use BoxColliders or Custom Scripts with Dialogue System

Man, it's beyond me how you can read through my question and come up with the perfect response.

Thanks man, I appreciate! OnUse really coming in clutch haha :)
by AvalonGames
Sun Apr 16, 2023 9:53 pm
Forum: Dialogue System for Unity
Topic: Is it better to use BoxColliders or Custom Scripts with Dialogue System
Replies: 3
Views: 182

Is it better to use BoxColliders or Custom Scripts with Dialogue System

Hey, So I've been playing around with the Dialogue System, and I understand that the Triggers provided such as (onTriggerEnter, OnUse etc.) make triggering the dialogue easy and intuitive. I was wondering if it was beneficial to write my own Custom Collider, for example for my game, instead of using...
by AvalonGames
Sat Apr 15, 2023 8:37 am
Forum: Dialogue System for Unity
Topic: How to Enable/Disable DialogueSystemTrigger
Replies: 3
Views: 188

Re: How to Enable/Disable DialogueSystemTrigger

So I looked into it this morning and it's working as you expected. I had my inspector on the target gameObject and it shows the Dialogue System Trigger as disabled. Only when I click to another gameObject and back to the target, does it show it as updated on the inspector window. Regardless it seems...
by AvalonGames
Fri Apr 14, 2023 10:18 pm
Forum: Dialogue System for Unity
Topic: How to Enable/Disable DialogueSystemTrigger
Replies: 3
Views: 188

How to Enable/Disable DialogueSystemTrigger

Hey, so I been playing around with the Dialogue System and noticed there's an Action "OnEnabled". From what I understand the documentation explains that the action will trigger when the component is Enabled code.png I have this block of code that enables the Dialogue System Trigger compone...
by AvalonGames
Thu Apr 28, 2022 12:59 am
Forum: Dialogue System for Unity
Topic: Problem Integrating Dialogue System with Text Animator
Replies: 3
Views: 460

Re: Problem Integrating Dialogue System with Text Animator

I was indeed pausing my game during conversation. Thank you so much :)

Your ability to help everyone is always appreciated
by AvalonGames
Wed Apr 27, 2022 11:07 pm
Forum: Dialogue System for Unity
Topic: Problem Integrating Dialogue System with Text Animator
Replies: 3
Views: 460

Problem Integrating Dialogue System with Text Animator

Hey, I just got both assets during the spring sale but I'm having issues integrating the text animator with the dialogue system. I've followed the steps, but the only thing I'm unsure about is how to disable the type writer effect so that it can use the text animator's instead. I've browsed through ...