Hello,
lupiyo wrote: ↑Sun Mar 26, 2023 9:38 pm- How do you usually deal with additives maps on unity, with the dialog? I Can't move the player to the npc inspector because they are on separated scenes.
You don't need to assign it. Add a
Dialogue Actor component to the player, and set its Actor dropdown to the Player actor. Then leave the Dialogue System Trigger's Conversation Actor field blank. If the conversation's primary actor is set to the Player Actor, it will find the correct GameObject via the Dialogue Actor component.
For more info, please see
Character GameObject Assignments.
lupiyo wrote: ↑Sun Mar 26, 2023 9:38 pm- I'm try to use it on my smartphone, it is 2D, and i'm following the youtube tutorial OnUse(). But when i click on NPC (with the mouse fire2 on pc for debug) nothing happens, I didn't change the button yet. Am I missing sometinhg?
If you're using the Selector component (with Select At set to Mouse Position) and you don't see the selector UI at the top of the screen when you hover over the NPC, make sure you've enabled 2D support. In the Dialogue System's Welcome window (Tools > Pixel Crushers > Dialogue System > Welcome Window), tick the USE_PHYSICS2D checkbox. If you still don't see it, make sure the NPC has a collider and that it's on a layer in the Selector's Layer Mask, and that it has a Usable component.
If you do see the selector UI but nothing happens when you press mouse Fire2, make sure the NPC's Dialogue System Trigger is set to OnUse. If it's set to OnUse but nothing happens, temporarily set the Dialogue Manager's Other Settings > Debug Level to Info. Then try again. This should log additional info to the Console window that may help you determine what's going on.
lupiyo wrote: ↑Sun Mar 26, 2023 9:38 pm- On unity, I'm using an asset that saves any variable of any kid using keyword-value, can I use it with the quest system?
Yes. You can write a simple C# method that returns the variable value by keyword. Then make that method accessible to the Dialogue System's Lua so you can use it in Conditions and Script fields. (
Tutorial)