Page 2 of 2

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

Posted: Wed Apr 13, 2016 6:34 pm
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!!!

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

Posted: Wed Apr 13, 2016 7:50 pm
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 1551 times

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

Posted: Wed Apr 13, 2016 8:45 pm
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.

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

Posted: Thu Apr 14, 2016 3:00 am
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 1549 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.

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

Posted: Thu Apr 14, 2016 9:33 am
by Tony Li
I'll look into this today and get back to you.

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

Posted: Thu Apr 14, 2016 10:15 pm
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.

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

Posted: Sun Apr 17, 2016 1:14 am
by supadupa64
No errors. It all works now. Thanks!

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

Posted: Sun Apr 17, 2016 1:27 am
by Tony Li
Awesome!