Me again I was wondering if there is something I can add into the quest scripts so players can only do it one time??
using System;
using Server;
using Server.Items;
using Server.Mobiles;
namespace Server.Engines.Quests
{
public class TestQuest : BaseQuest
{
//Player can only do quest once
public override bool DoneOnce{ get{ return true; } }
public TestQuest() : base()
{
}
}
}
Ok where do I put this thoe in the qust gump? thats the part im unsure of.TestQuest, Do Only Once:using System; using Server; using Server.Items; using Server.Mobiles; namespace Server.Engines.Quests { public class TestQuest : BaseQuest { //Player can only do quest once public override bool DoneOnce{ get{ return true; } } public TestQuest() : base() { } } }
OK the script I have isn't made with a xml. So I am not sure where to put this in this script.TestQuest, Do Only Once:using System; using Server; using Server.Items; using Server.Mobiles; namespace Server.Engines.Quests { public class TestQuest : BaseQuest { //Player can only do quest once public override bool DoneOnce{ get{ return true; } } public TestQuest() : base() { } } }
We use essential cookies to make this site work, and optional cookies to enhance your experience.