Hello. Can someone tell me please how can I make the effect to be seen ONLY for the character that found the item? At the moment, every character that`s in the map can see the effect if someone finds something. Source 5065.
Thank you!
ushort X = 0;
ushort Y = 0;
X = DI2.Loc.X;
Y = DI2.Loc.Y;
var DI = new Game.MapEffect();
DI.DropTime = DateTime.Now;
DI.LastDrop = DateTime.Now;
DI.Loc = new Game.Location();
DI.Loc.Map = Char.Loc.Map;
DI.Info = new Game.MEffect();
DI.Info.ID = 17;
DI.UID = (uint)Program.Rnd.Next(900000, 999999);
DI.Info.UID = DI.UID;
DI.Loc.X = X;
DI.Loc.Y = Y;
DI.Drop();
DropsEffects.Add(DI.UID, DI);






