Hi guys how are you?. I just wanted your help here on how can I make this into infinite/permanent blinking indicator in minimap when the boss spawn in the area (which the indicator is the location of the boss spawn).
My problem is that the blinking indicator will stop after 2-3sec. I use the TeamSearchmember Actiontype of "106" to locate the boss location in minimap.
How can I make the blinking indicator permanent until the boss has been dead and even I am too far away from the boss location.
Here is my progress of the work
the code I use
Code:
if (timer > client.Player.BossStamp.AddSeconds(1))
{
client.Player.BossStamp.AddSeconds(1);
using (var rec = new ServerSockets.RecycledPacket())
{
//client.Player.BossStamp.AddSeconds(1);
foreach (var mob in client.Player.View.Roles(Role.MapObjectType.Monster))
{
if ((mob as Game.MsgMonster.MonsterRole).Boss == 1 && (mob as Game.MsgMonster.MonsterRole).Alive)
{
var stream = rec.GetStream();
ActionQuery action = new ActionQuery()
{
ObjId = mob.UID,
// dwParam = 1015,
Type = ActionType.TeamSearchForMember,
wParam1 = mob.X,
wParam2 = mob.Y
};
//mob.Send(GetArray(stream, true));
mob.Send(stream.ActionCreate(&action));
}
}
}
}