Give Quest by tag PM action request

Announcements, support questions, and discussion for Quest Machine.
Post Reply
joe1512
Posts: 11
Joined: Wed Jan 26, 2022 5:16 am

Give Quest by tag PM action request

Post by joe1512 »

Hey I'm using Playmaker and Quest machine and need to give the player a quest after several playmaker events have occurred.
The only problem is the "Give quest" playmaker action makes it so the player has to be in the scene. If my player is a prefab or spawns in a different scene first I cant make it target him. I don't want to use the trigger event with colliders due to the fact several other checks will be done via playmaker scripting first.

Is there a chance that you can add a "Give Quest by tag" so the playmaker script can search for Tags e.g "Player" this will solve my issue thanks.
Attachments
Quest machine.png
Quest machine.png (13.64 KiB) Viewed 1735 times
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Give Quest by tag PM action request

Post by Tony Li »

Hi,

With this updated PlayMaker Support package, which will be in the next full release too, you can leave the Quester field unassigned and Quest Machine will automatically locate the Quest Journal component at runtime.

QM_PlayMakerSupport_2022-04-23.unitypackage
joe1512
Posts: 11
Joined: Wed Jan 26, 2022 5:16 am

Re: Give Quest by tag PM action request

Post by joe1512 »

Thanks works perfectly!
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Give Quest by tag PM action request

Post by Tony Li »

Glad to help!
joe1512
Posts: 11
Joined: Wed Jan 26, 2022 5:16 am

Re: Give Quest by tag PM action request

Post by joe1512 »

Can I be a right pain and ask if you can do the same with the following?
The "Start Dialogue" Playmaker action can you make it so if its null it finds the player tag?
Attachments
QuestMachine.png
QuestMachine.png (6.04 KiB) Viewed 1692 times
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Give Quest by tag PM action request

Post by Tony Li »

joe1512
Posts: 11
Joined: Wed Jan 26, 2022 5:16 am

Re: Give Quest by tag PM action request

Post by joe1512 »

Works perfectly. Thanks a bunch!
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Give Quest by tag PM action request

Post by Tony Li »

My pleasure!
Post Reply