Quest Module [V1.5]
Description
Once upon a time… Back went Talent Hub was released. I was trying to do a ton of commissions, and a developer wanted me to make a quest module for 2K : (i think) As soon as I finished it though, he had decided that he would make his own. Now that I’m a dev forum member I thought I would put it here as a resource. I hope you enjoy.
API
QuestModule.FindPart(player,PartToTouch,Reward,{Title,Text,Icon})
--Creates a quest that will trigger when the player's character touches a specific part.
--Note: PartToTouch must be a BasePart.
QuestModule.MonitorCurrency(player,AmountToReach,Reward,{Title,Text,Icon})
-- Creates a quest that will trigger when the players Currency reaches a desired goal.
QuestModule.MonitorFriends(player,Reward,{Title,Text,Icon})
-- Creates a quest that will trigger when one of the player's friends join.
QuestModule.WatchDeaths(player,TableOfCharacters,AmountOfDeathsNeeded,Reward,{Title,Text,Icon})
-- Creates a quest that will trigger only when specific amount of characters were killed.
Code Sample
--Example:
local QuestModule = require(script.QuestModule)
local notificationInfo = {"You are epic!","You found Mr. Epic face!","http://www.roblox.com/asset/?id=64384292"}
local player = game.Players:FindFirstChild("Escape_Everything")
QuestModule.FindPart(player,game.Workspace.EpicNPC.PrimaryPart,500,notificationInfo )
I hope you guys can find lots of good uses and applications for this.
Sincerely, Escape_Everything🐧
Did you find this useful?
- Yes
- Not Really
- Nope
0 voters
Please leave any suggestions or comments below.