I'm attempting to make a Magic Wand that reveals Hidden Items and Mobiles. The revealing part works as expected, however in the OnAdded method I am trying to passively detect hidden objects. This is what I have, which compiles, but doesn't passively detect.
public static void OnAdded(object...
Using latest ServUo:
Trying to make a shovel uncover the entrance to my custom dungeon by having players randomly look for it targeting the land tiles in the area.
One method sort of works(LandTile) I tried only allows me to target playermobile not the ground, but for some reason also allows...
I made a timer that worked fine in the OnDoubleClick method, but my timer needs to wait for the target confirmation before it sets DateTimeNow. Otherwise on a failed Target attempt the player still gets penalized by the timer.
using System;
using Server.Network;
using Server.Targeting...
Trying to make this bracelet change colors according to the MoonPhase independent of any action, meaning you don't have to equip, dbl-click to change color. When you travel from one facet to another it should auto change color based on the Phase of the Moon.
This compiles fine but the color...
RedBeard submitted a new resource:
Bridges missing from Southern Jungle - Multis, Structures, Briges, Trinsic, Southern Jungle
Read more about this resource...
When the Solen Queen lays egg sac if not destroyed it spawns a helper. This all works well except the helper's life slowly drains til it dies as well as the queen after the egg hatches, what causes this and how can I control that effect or negate it?
This is the section with helper:
The...
Currently this script finds multiple targets and launches an arrow at all targets at once. I'm trying to get it to attack one target at a time. When it does multiple targets the damage seems to multiply as well strangely.
I change the 'foreach' to if statements having some trouble
public...
Trying to make a mobile that moves to a new location based off a timer.
using System;
using System.Collections;
using Server.Items;
using Server.Targeting;
namespace Server.Mobiles
{
public class ThiefGuildmasterTram : BaseGuildmaster
{
Point3D[] MoveLocations =
{
new Point3D( 1478...
How can i make a button in a gump perform a command such as open chat normally command: [c
AddButton(127, 245, 2117, 2117, (int)Buttons.Button6, GumpButtonType.Reply, 0);//chat 6
AddLabel(150, 243, 47, @"Chat");
and this section below:
case...
Trying to figure out how to add compassion gain to this:
if (DateTime.Now < m_LastClicked + TimeSpan.FromHours(1.0))
{
from.SendLocalizedMessage(1060001);//You throw the switch, but the mechanism cannot be engaged again so soon.
return;
}
Container pack = from.Backpack as Container;
if...
RedBeard submitted a new resource:
Horde Spawner: aka Horde of Rats - Mobiles, Horde, theives, ratmen, brigand, orc, spawner
Read more about this resource...