Mini Map marker icons for quests: ? and !

Announcements, support questions, and discussion for the Dialogue System.
User avatar
supadupa64
Posts: 200
Joined: Sun Mar 06, 2016 9:40 pm
Contact:

Re: Mini Map marker icons for quests: ? and !

Post by supadupa64 »

oh right, I meant sequence command, not lua. Nice, all that worked really well. I now have the "?" when the quest is ready to be turned in. Thanks!!!
User avatar
supadupa64
Posts: 200
Joined: Sun Mar 06, 2016 9:40 pm
Contact:

Re: Mini Map marker icons for quests: ? and !

Post by supadupa64 »

Actually, I started getting these errors. Do you know what it could be?
script_info.jpg
script_info.jpg (184.88 KiB) Viewed 1559 times
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Mini Map marker icons for quests: ? and !

Post by Tony Li »

That means there isn't a sequencer (the component that plays sequencer commands). This shouldn't happen. Can you give me more details on how you're using the command?

In the meantime, to make the script handle it a little more gracefully, change line 13 from this:

Code: Select all

var subject = (Sequencer != null) ? GetSubject(0, Sequencer.Speaker); 
to this:

Code: Select all

            if (Sequencer == null && DialogueDebug.LogWarnings) Debug.LogWarning("Dialogue System: Sequencer: MiniMapMarker(" + GetParameters() + "): No Sequencer");
            var subject = (Sequencer != null) ? GetSubject(0, Sequencer.Speaker) : null; 
I updated the complete script in my previous post, too.
User avatar
supadupa64
Posts: 200
Joined: Sun Mar 06, 2016 9:40 pm
Contact:

Re: Mini Map marker icons for quests: ? and !

Post by supadupa64 »

I've been using it just how we have been talking. I put it on the collectible objects and strategically placed in the dialogue conversations. Everything works, it just pops up errors as far as I can tell.

Here's what shows now.
error1.jpg
error1.jpg (76.02 KiB) Viewed 1557 times
*As a side note, a few days ago I bought something off the site http://arteria3d.com but didn't receive it. Do you know who runs that site? I got the link from http://www.pixelcrushers.com/dialogue-system.
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Mini Map marker icons for quests: ? and !

Post by Tony Li »

I'll look into this today and get back to you.
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Mini Map marker icons for quests: ? and !

Post by Tony Li »

I updated the script in my previous post so it should hopefully quiet down those errors. I think it's ultimately a timing issue when destroying the scrolls. But if it works, it works.
User avatar
supadupa64
Posts: 200
Joined: Sun Mar 06, 2016 9:40 pm
Contact:

Re: Mini Map marker icons for quests: ? and !

Post by supadupa64 »

No errors. It all works now. Thanks!
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Mini Map marker icons for quests: ? and !

Post by Tony Li »

Awesome!
Post Reply