Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

AH! that would be great if the pin thing you describe is added so we can pin or unpin a quest using a command,
I don't want the player to have access to the quest menu themselves, which is already a feature.
That means then i could just pin the quest so it always shows then just change the text on the pinned quest at certain points when player has done what it ways to do.

If you do not give them access to the quest log scene, then you could use the following script to pin the quest:

$cgmz.getQuest("My Quest").pin();
(1 edit)

oh, that cool. So  this means then i could just set up quests for each stage then just pin each as the player reaches certain points.
Will this script overwrite the current pinned quest..?
or... will I need to unpin the current pinned quest first, then pin the new one ?
If i need to unpin first, then pin the new quest if it doesnt replace how do I unpin the quest..? Is there script code for that too?

Turn "Unpin On Complete" to true in the plugin parameters and it should automatically unpin completed quests. You can unpin them with this js though:

$cgmz.getQuest("My Quest").unpin();

Thanks!