Search found 39 matches

by Timeslip
Wed Mar 06, 2024 8:19 am
Forum: Dialogue System for Unity
Topic: Passing a dialogue Variable in the script field
Replies: 3
Views: 58

Passing a dialogue Variable in the script field

Hi Tony,

Getting a "Code has Syntax error" error, when trying to pass a number try variable from the database to a method. Can you tell me what I'm missing? Thanks!
ScriptField.png
ScriptField.png (2.72 KiB) Viewed 58 times
by Timeslip
Tue Aug 02, 2022 10:22 am
Forum: Dialogue System for Unity
Topic: Accessing Methods on other scripts though Lua
Replies: 4
Views: 272

Re: Accessing Methods on other scripts though Lua

Hi - apologies, I didn't explain the situation very well. Lua.RegisterFunction() is called in DialogueHelperMethods. Dialogue Helper methods has a reference to MapA, a script attached to the map gameobject, which contains AMethod. Previously, I was setting it up like this: public class DialogueSyste...
by Timeslip
Tue Aug 02, 2022 9:49 am
Forum: Dialogue System for Unity
Topic: Accessing Methods on other scripts though Lua
Replies: 4
Views: 272

Accessing Methods on other scripts though Lua

Hi Tony, I have a main dialogue class (Dialogue System Helper Methods), which contains the registered LUA functions and references to the classes which contain methods to handle dialogue system interactions for each map (MapA, MapB). How do i register a function in the main class, to call a function...
by Timeslip
Wed Oct 06, 2021 8:20 am
Forum: Dialogue System for Unity
Topic: Escape Canels Dialogue During Player Choice
Replies: 1
Views: 173

Escape Canels Dialogue During Player Choice

Hi Tony,

When a player choice comes up in dialogue, pressing escape shuts down the dialogue. This breaks any subsequent events. When it's not a player choice, it just advances the dialogue, which is fine.

Any advice on how to fix? Thanks!
by Timeslip
Mon Feb 01, 2021 7:18 am
Forum: Dialogue System for Unity
Topic: Change Actor Portrait and Name to the character who started conversation
Replies: 3
Views: 412

Re: Change Actor Portrait and Name to the character who started conversation

Appreciate the help. Understand how it works now. The Dialogue Actor object attached to the character was set to the wrong actor.
by Timeslip
Sat Jan 30, 2021 9:45 am
Forum: Dialogue System for Unity
Topic: Change Actor Portrait and Name to the character who started conversation
Replies: 3
Views: 412

Change Actor Portrait and Name to the character who started conversation

Hi Tony, I hope all's well. 1) In some cases, I'd like to set the actor / name + portrait to the character who activated an object to start the conversation. At the minute, if the player character doesn't start the conversation, it seems to default to a particular actor who was defined. 2) In other ...
by Timeslip
Tue Nov 10, 2020 6:33 am
Forum: Dialogue System for Unity
Topic: Cannot Assign To A Null Value
Replies: 8
Views: 613

Re: Cannot Assign To A Null Value

Hi Tony,

Thanks, and apologies for the delay in getting back to you. The patch appears to have worked. I say appears because there is a separate issue with the save data which is preventing loading at present, but the original issue is no longer throwing any errors.
by Timeslip
Mon Nov 02, 2020 12:44 pm
Forum: Dialogue System for Unity
Topic: Cannot Assign To A Null Value
Replies: 8
Views: 613

Re: Cannot Assign To A Null Value

Thanks. I should let you know that it's an older version (2.1.8) with some custom scripts you sent. If you think updating will resolve, happy to do so.