Candy Apple

Member
Me again :) I was wondering if there is something I can add into the quest scripts so players can only do it one time??
 
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()
        {
        }

    }
}
 
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 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.
 

Attachments

  • BellaQuest.cs
    3 KB · Views: 8

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back