I have been working on a quest, to direct new players to the custom areas of the server.. the reward for completing the quest is a "Horn Of Retreat" which adds fine upon completion of the quest.. but, the moongate that appears when using it, doesnt go anywhere? anyone have a working one? or know which line i need to edit to add the destination of the gate? Ive been playing with it, trying to get it to work.. with no luck.
 
use the command [Props
target the horn

modify DestLoc to where you want it to go.
modify DestMap to the map you want it to go to.

or put it on an xml spawner
C#:
HornOfRetreat/DestLoc/(xxxx, yyyy, zzzz)/DestMap/MapName

or if you wanted it as loot:
C#:
using Server.Engines.Quests;  // at top if it isn't already there

       public override void OnDeath( Container c )
        {
            base.OnDeath( c );
           
            HornOfRetreat horn = new HornOfRetreat();
            horn.DestLoc = new Point3D(xxxx, yyyy, zzzz);
            horn.DestMap = Map.MapName;
            c.DropItem(horn);
        }
 
Last edited:
Thanks! Ill try the last one, its actually a quest drop, ill try the last one tommorow. Bed time here!
 
Back