Search found 22856 matches

by Tony Li
Fri Mar 28, 2025 9:43 am
Forum: Dialogue System for Unity
Topic: Save system & Trigger
Replies: 3
Views: 237

Re: Save system & Trigger

Hi, Set the Dialogue Manager's Other Settings > Debug Level to Info, and tick the PlayerPrefs Saved Game Data Storer component's Debug checkbox. This will log detailed info to the Console. You can check what data it's restoring (dig through the JSON save data in the Console to find your variable nam...
by Tony Li
Fri Mar 28, 2025 9:11 am
Forum: Dialogue System for Unity
Topic: Tag for old responses-question
Replies: 1
Views: 28

Re: Tag for old responses-question

Hi, The [em#]...[/em#] wrapping is built into the conversation model. You'll have to use an OnConversationLine(Subtitle) method in a custom script on your Dialogue Manager to remove them conditionally. For example, you could add a custom Boolean field to your dialogue entry template and check this i...
by Tony Li
Fri Mar 28, 2025 8:07 am
Forum: Dialogue System for Unity
Topic: Randomizing voice audio files
Replies: 5
Views: 1156

Re: Randomizing voice audio files

os.clock() and os.date() are the only OS library functions that aren't disabled since they're safe in the sandbox Lua environment. However, I do see a note that the .NET function it uses, Environment.TickCount, isn't accurate on iOS. I'll update this in 2.2.52 so it uses an iOS-accurate function, an...
by Tony Li
Fri Mar 28, 2025 7:22 am
Forum: Dialogue System for Unity
Topic: Trouble with Standard Scene Transition Manager
Replies: 5
Views: 622

Re: Trouble with Standard Scene Transition Manager

Hi,

Can you back up your project, update to DS 2.2.51, and let me know if the issue persists?

If it does, can you send a reproduction project to tony (at) pixelcrushers.com?
by Tony Li
Thu Mar 27, 2025 9:54 pm
Forum: Dialogue System for Unity
Topic: Save system & Trigger
Replies: 3
Views: 237

Re: Save system & Trigger

Hi, > 1. When playing for the first time, the "Get Player Name Tutorial" should run only once, then transition to the Prologue story. > After that, the "Get Player Name Tutorial" should never show again. Please see: How To: Run a Conversation Only Once > 2. When replaying the Pro...
by Tony Li
Thu Mar 27, 2025 9:44 pm
Forum: Dialogue System for Unity
Topic: Trouble with Standard Scene Transition Manager
Replies: 5
Views: 622

Re: Trouble with Standard Scene Transition Manager

Hi, What Unity and Dialogue System versions are you using? That warning message is fine, but to get rid of it (or to use Unity UI for your selector UI), either assign a StandardUISelectorElements such as "Basic Standard UI Selector Elements" to your Dialogue Manager's Instantiate Prefabs c...
by Tony Li
Thu Mar 27, 2025 8:07 am
Forum: Dialogue System for Unity
Topic: Trouble with Standard Scene Transition Manager
Replies: 5
Views: 622

Re: Trouble with Standard Scene Transition Manager

Hi, 1. When I add the save system prefab to my scene, things work fine. I see the loading screen when I touch the scene portal, and then I'm taken to my desired scene. However, if I open another scene in the editor, and then come back to the scene with the Scene Transition Manager, it stops working....
by Tony Li
Wed Mar 26, 2025 3:16 pm
Forum: Dialogue System for Unity
Topic: Changing blockInputDuration from code
Replies: 2
Views: 626

Re: Changing blockInputDuration from code

No, that's it. You're setting a specific variable, and that's the exact path to the variable. (Assuming you want to set the value on the PC subtitle panel.)
by Tony Li
Wed Mar 26, 2025 10:57 am
Forum: Dialogue System for Unity
Topic: Change scenes
Replies: 21
Views: 6306

Re: Change scenes

Oops, sorry, don't include the quotation marks. I fixed my post above.
by Tony Li
Wed Mar 26, 2025 9:23 am
Forum: Dialogue System for Unity
Topic: Change scenes
Replies: 21
Views: 6306

Re: Change scenes

Are you specifying the spawnpoint in LoadLevel(), such as:

Code: Select all

LoadLevel(Scene 2, Door Spawnpoint)
(Edit: Removed quotation marks.)