Saw a UI I loved but not sure which, anyone help? Pic includ

Forum for posting custom UIs, portions of UIs, and HUD stuff using MQ's enhancements.

Moderator: MacroQuest Developers

User avatar
Cr4zyb4rd
Plugins Czar
Posts: 1449
Joined: Tue Jul 20, 2004 11:46 am

Post by Cr4zyb4rd » Thu Sep 15, 2005 2:31 am

*mumbles something about babies and bathwater*

exslam
orc pawn
orc pawn
Posts: 14
Joined: Wed Jun 23, 2004 6:19 am

Post by exslam » Sat Oct 08, 2005 12:31 am

Code: Select all

NS=3,700,38,255,0,0,~~~~ Named Spawns ~~~~
        Spawn1=3,700,56,255,255,0,#1    ${If[${NearestSpawn[1,npc #]},${NearestSpawn[1,npc #].Level},]} - ${If[${NearestSpawn[1,npc #]},${NearestSpawn[1,npc #].Name},]}
        Spawn2=3,700,68,255,255,0,#2    ${If[${NearestSpawn[2,npc #]},${NearestSpawn[2,npc #].Level},]} - ${If[${NearestSpawn[2,npc #]},${NearestSpawn[2,npc #].Name},]}
        Spawn3=3,700,80,255,255,0,#3    ${If[${NearestSpawn[3,npc #]},${NearestSpawn[3,npc #].Level},]} - ${If[${NearestSpawn[3,npc #]},${NearestSpawn[3,npc #].Name},]}
        Spawn4=3,700,92,255,255,0,#4    ${If[${NearestSpawn[4,npc #]},${NearestSpawn[4,npc #].Level},]} - ${If[${NearestSpawn[4,npc #]},${NearestSpawn[4,npc #].Name},]} 
Gives error : Unparsable in Calculation :"#"

This code is beyond my comprehension, so if anyone could help me out here I'll love ya

Ex~

A_Druid_00
Macro Maker Extraordinaire
Posts: 2378
Joined: Tue Jul 13, 2004 12:45 pm
Location: Rolling on the Lawn Farting

Post by A_Druid_00 » Sat Oct 08, 2005 12:58 am

This is what I use on my main bot. It gives you little ascii direction arrows too <--, -->, and ^^^ for straight ahead. It also displays the mob's compass heading next to its name.

Code: Select all

NS=            3,005,290,255,255,255,~~~~ Named Spawns ~~~
Spawn1=        3,005,300,255,255,000,${If[${Bool[${NearestSpawn[1,npc named].Name}]},${If[${Math.Calc[(${Me.Heading.Degrees}-${NearestSpawn[1,npc named].HeadingTo.Degrees}+375)%360]}<30,^^^,${If[${Math.Calc[(${Me.Heading.Degrees}-${NearestSpawn[1,npc named].HeadingTo.Degrees}+360)%360]}<180,<--,-->]}]} ${NearestSpawn[1,npc named].CleanName} (${NearestSpawn[1,npc named].HeadingTo}),No Named]}
Spawn2=        3,005,310,255,255,000,${If[${Bool[${NearestSpawn[2,npc named].Name}]},${If[${Math.Calc[(${Me.Heading.Degrees}-${NearestSpawn[2,npc named].HeadingTo.Degrees}+375)%360]}<30,^^^,${If[${Math.Calc[(${Me.Heading.Degrees}-${NearestSpawn[2,npc named].HeadingTo.Degrees}+360)%360]}<180,<--,-->]}]} ${NearestSpawn[2,npc named].CleanName} (${NearestSpawn[2,npc named].HeadingTo}),No Named]}
Spawn3=        3,005,320,255,255,000,${If[${Bool[${NearestSpawn[3,npc named].Name}]},${If[${Math.Calc[(${Me.Heading.Degrees}-${NearestSpawn[3,npc named].HeadingTo.Degrees}+375)%360]}<30,^^^,${If[${Math.Calc[(${Me.Heading.Degrees}-${NearestSpawn[3,npc named].HeadingTo.Degrees}+360)%360]}<180,<--,-->]}]} ${NearestSpawn[3,npc named].CleanName} (${NearestSpawn[3,npc named].HeadingTo}),No Named]}
Spawn4=        3,005,330,255,255,000,${If[${Bool[${NearestSpawn[4,npc named].Name}]},${If[${Math.Calc[(${Me.Heading.Degrees}-${NearestSpawn[4,npc named].HeadingTo.Degrees}+375)%360]}<30,^^^,${If[${Math.Calc[(${Me.Heading.Degrees}-${NearestSpawn[4,npc named].HeadingTo.Degrees}+360)%360]}<180,<--,-->]}]} ${NearestSpawn[4,npc named].CleanName} (${NearestSpawn[4,npc named].HeadingTo}),No Named]}
Spawn5=        3,005,340,255,255,000,${If[${Bool[${NearestSpawn[5,npc named].Name}]},${If[${Math.Calc[(${Me.Heading.Degrees}-${NearestSpawn[5,npc named].HeadingTo.Degrees}+375)%360]}<30,^^^,${If[${Math.Calc[(${Me.Heading.Degrees}-${NearestSpawn[5,npc named].HeadingTo.Degrees}+360)%360]}<180,<--,-->]}]} ${NearestSpawn[5,npc named].CleanName} (${NearestSpawn[5,npc named].HeadingTo}),No Named]}
[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]

xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Saw a UI I loved but not sure which, anyone help? Pic includ

Post by xyilla » Mon Jun 09, 2025 3:13 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Saw a UI I loved but not sure which, anyone help? Pic includ

Post by xyilla » Mon Jun 09, 2025 3:14 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Saw a UI I loved but not sure which, anyone help? Pic includ

Post by xyilla » Mon Jun 09, 2025 3:15 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Saw a UI I loved but not sure which, anyone help? Pic includ

Post by xyilla » Mon Jun 09, 2025 3:51 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Saw a UI I loved but not sure which, anyone help? Pic includ

Post by xyilla » Mon Jun 09, 2025 3:52 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Saw a UI I loved but not sure which, anyone help? Pic includ

Post by xyilla » Mon Jun 09, 2025 3:54 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Saw a UI I loved but not sure which, anyone help? Pic includ

Post by xyilla » Mon Jun 09, 2025 3:55 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Saw a UI I loved but not sure which, anyone help? Pic includ

Post by xyilla » Mon Jun 09, 2025 3:56 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Saw a UI I loved but not sure which, anyone help? Pic includ

Post by xyilla » Mon Jun 09, 2025 3:57 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Saw a UI I loved but not sure which, anyone help? Pic includ

Post by xyilla » Mon Jun 09, 2025 3:58 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Saw a UI I loved but not sure which, anyone help? Pic includ

Post by xyilla » Mon Jun 09, 2025 4:00 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Saw a UI I loved but not sure which, anyone help? Pic includ

Post by xyilla » Mon Jun 09, 2025 4:01 am