HUD: AA timers / target / player data

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

Moderator: MacroQuest Developers

JimJohnson
a grimling bloodguard
a grimling bloodguard
Posts: 1299
Joined: Sat Oct 11, 2003 6:00 am

HUD: AA timers / target / player data

Post by JimJohnson » Sun Jul 18, 2004 11:24 pm

most this was stolen from J-Squared
http://macroquest2.com/phpBB2/viewtopic.php?t=7419
and a few other misc huds



basically just load what ever class you perfer and has a list of most common AA abiltiles that are activated.

/loadhud bard
/loadhud cleric
/loadhud Beastlord
/loadhud Mage
/loadhud War
/loadhud Elements


Things to do
Add rest of the classes
Add disc timers
Add / find if ${Endurance.Regen} is available

Code: Select all

[Elements]

cast=3,500,300,255,255,0,${If[${Me.Casting.ID}>0,${Me.Casting} ( ${Target.CleanName} ),]}
mana=3,500,312,255,255,0,${If[${Me.Casting.ID}>0,Mana: ${Me.CurrentMana} / ${Me.MaxMana},]}
CursorItemName=7,-15,-15,255,255,255,${If[${Cursor.ID},${Cursor},]}

Time=3,5,38,255,255,255,Real Time: ${Time}
LastTell=3,5,50,255,255,255,LastTell - ${MacroQuest.LastTell} 
Spawn1=3,5,62,255,255,0,${If[${NearestSpawn[1,npc #].Name.NotEqual["NULL"]},${NearestSpawn[1,npc #].Level},]} - ${If[${NearestSpawn[1,npc #].Name.NotEqual["NULL"]},${NearestSpawn[1,npc #].Name},]} 
Spawn2=3,5,74,255,255,0,${If[${NearestSpawn[2,npc #].Name.NotEqual["NULL"]},${NearestSpawn[2,npc #].Level},]} - ${If[${NearestSpawn[2,npc #].Name.NotEqual["NULL"]},${NearestSpawn[2,npc #].Name},]} 
Spawn3=3,5,86,255,255,0,${If[${NearestSpawn[3,npc #].Name.NotEqual["NULL"]},${NearestSpawn[3,npc #].Level},]} - ${If[${NearestSpawn[3,npc #].Name.NotEqual["NULL"]},${NearestSpawn[3,npc #].Name},]} 
Spawn4=3,5,98,255,255,0,${If[${NearestSpawn[4,npc #].Name.NotEqual["NULL"]},${NearestSpawn[4,npc #].Level},]} - ${If[${NearestSpawn[4,npc #].Name.NotEqual["NULL"]},${NearestSpawn[4,npc #].Name},]} 

Target=3,5,110,255,255,255,~~~~~~ Target Data ~~~~~~
TData1=3,5,122,255,255,255,${If[${Target.ID},Name: ${Target.CleanName} ( ${Target.Race} ),]}
TData2=3,5,134,255,255,255,${If[${Target.ID},Class: ${Target.Level} ${Target.Class},]}
TData3=3,5,146,255,255,255,${If[${Target.ID},Distance:  ${Target.Distance},]}
TData4=3,5,158,255,255,255,${If[${Target.ID},Melee Range: ${Target.MaxRange},]}

Player=3,5,170,255,255,255,~~~~~~ Player Data ~~~~~~
PData1=3,5,182,255,255,255,Hit Points:
PData1a=3,80,182,255,255,255,${Me.CurrentHPs} / ${Me.MaxHPs} (${Me.HPRegen})
PData2=3,5,194,255,255,255,Mana:
PData2a=3,80,194,255,255,255,${Me.CurrentMana} / ${Me.MaxMana} (${Me.ManaRegen})
PData3=3,5,206,255,255,255,Endurance:
PData3a=3,80,206,255,255,255,${Me.Endurance} / ${Me.MaxEndurance} 


============================================================================================================================================================

[BARD]
cast=3,500,300,255,255,0,${If[${Me.Casting.ID}>0,${Me.Casting} ( ${Target.CleanName} ),]}
mana=3,500,312,255,255,0,${If[${Me.Casting.ID}>0,Mana: ${Me.CurrentMana} / ${Me.MaxMana},]}
CursorItemName=7,-15,-15,255,255,255,${If[${Cursor.ID},${Cursor},]}

Time=3,5,38,255,255,255,Real Time: ${Time}
LastTell=3,5,50,255,255,255,LastTell - ${MacroQuest.LastTell} 
Spawn1=3,5,62,255,255,0,${If[${NearestSpawn[1,npc #].Name.NotEqual["NULL"]},${NearestSpawn[1,npc #].Level},]} - ${If[${NearestSpawn[1,npc #].Name.NotEqual["NULL"]},${NearestSpawn[1,npc #].Name},]} 
Spawn2=3,5,74,255,255,0,${If[${NearestSpawn[2,npc #].Name.NotEqual["NULL"]},${NearestSpawn[2,npc #].Level},]} - ${If[${NearestSpawn[2,npc #].Name.NotEqual["NULL"]},${NearestSpawn[2,npc #].Name},]} 
Spawn3=3,5,86,255,255,0,${If[${NearestSpawn[3,npc #].Name.NotEqual["NULL"]},${NearestSpawn[3,npc #].Level},]} - ${If[${NearestSpawn[3,npc #].Name.NotEqual["NULL"]},${NearestSpawn[3,npc #].Name},]} 
Spawn4=3,5,98,255,255,0,${If[${NearestSpawn[4,npc #].Name.NotEqual["NULL"]},${NearestSpawn[4,npc #].Level},]} - ${If[${NearestSpawn[4,npc #].Name.NotEqual["NULL"]},${NearestSpawn[4,npc #].Name},]} 

Target=3,5,110,255,255,255,~~~~~~ Target Data ~~~~~~
TData1=3,5,122,255,255,255,${If[${Target.ID},Name: ${Target.CleanName} ( ${Target.Race} ),]}
TData2=3,5,134,255,255,255,${If[${Target.ID},Class: ${Target.Level} ${Target.Class},]}
TData3=3,5,146,255,255,255,${If[${Target.ID},Distance:  ${Target.Distance},]}
TData4=3,5,158,255,255,255,${If[${Target.ID},Melee Range: ${Target.MaxRange},]}

Player=3,5,170,255,255,255,~~~~~~ Player Data ~~~~~~
PData1=3,5,182,255,255,255,Hit Points:
PData1a=3,80,182,255,255,255,${Me.CurrentHPs} / ${Me.MaxHPs} (${Me.HPRegen})
PData2=3,5,194,255,255,255,Mana:
PData2a=3,80,194,255,255,255,${Me.CurrentMana} / ${Me.MaxMana} (${Me.ManaRegen})
PData3=3,5,206,255,255,255,Endurance:
PData3a=3,80,206,255,255,255,${Me.Endurance} / ${Me.MaxEndurance} 

AA=3,5,218,255,255,255,~~~~~~ Alt Ability ~~~~~~

BB=3,5,230,255,234,8,Boastful Bellow - - -
BBgreadyt=3,120,230,0,255,0,${If[${String[${Me.AltAbilityReady[Boastful Bellow]}].Equal["TRUE"]},Ready,]} 
BBRednotready=3,120,230,255,0,0,${If[${String[${Me.AltAbilityReady[Boastful Bellow]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Boastful Bellow].TimeHMS}]} 

============================================================================================================================================================

[Beastlord]
cast=3,500,300,255,255,0,${If[${Me.Casting.ID}>0,${Me.Casting} ( ${Target.CleanName} ),]}
mana=3,500,312,255,255,0,${If[${Me.Casting.ID}>0,Mana: ${Me.CurrentMana} / ${Me.MaxMana},]}
CursorItemName=7,-15,-15,255,255,255,${If[${Cursor.ID},${Cursor},]}

Time=3,5,38,255,255,255,Real Time: ${Time}
LastTell=3,5,50,255,255,255,LastTell - ${MacroQuest.LastTell} 
Spawn1=3,5,62,255,255,0,${If[${NearestSpawn[1,npc #].Name.NotEqual["NULL"]},${NearestSpawn[1,npc #].Level},]} - ${If[${NearestSpawn[1,npc #].Name.NotEqual["NULL"]},${NearestSpawn[1,npc #].Name},]} 
Spawn2=3,5,74,255,255,0,${If[${NearestSpawn[2,npc #].Name.NotEqual["NULL"]},${NearestSpawn[2,npc #].Level},]} - ${If[${NearestSpawn[2,npc #].Name.NotEqual["NULL"]},${NearestSpawn[2,npc #].Name},]} 
Spawn3=3,5,86,255,255,0,${If[${NearestSpawn[3,npc #].Name.NotEqual["NULL"]},${NearestSpawn[3,npc #].Level},]} - ${If[${NearestSpawn[3,npc #].Name.NotEqual["NULL"]},${NearestSpawn[3,npc #].Name},]} 
Spawn4=3,5,98,255,255,0,${If[${NearestSpawn[4,npc #].Name.NotEqual["NULL"]},${NearestSpawn[4,npc #].Level},]} - ${If[${NearestSpawn[4,npc #].Name.NotEqual["NULL"]},${NearestSpawn[4,npc #].Name},]} 

Target=3,5,110,255,255,255,~~~~~~ Target Data ~~~~~~
TData1=3,5,122,255,255,255,${If[${Target.ID},Name: ${Target.CleanName} ( ${Target.Race} ),]}
TData2=3,5,134,255,255,255,${If[${Target.ID},Class: ${Target.Level} ${Target.Class},]}
TData3=3,5,146,255,255,255,${If[${Target.ID},Distance:  ${Target.Distance},]}
TData4=3,5,158,255,255,255,${If[${Target.ID},Melee Range: ${Target.MaxRange},]}


Player=3,5,170,255,255,255,~~~~~~ Player Data ~~~~~~
PData1=3,5,182,255,255,255,Hit Points:
PData1a=3,80,182,255,255,255,${Me.CurrentHPs} / ${Me.MaxHPs} (${Me.HPRegen})
PData2=3,5,194,255,255,255,Mana:
PData2a=3,80,194,255,255,255,${Me.CurrentMana} / ${Me.MaxMana} (${Me.ManaRegen})


AA=3,5,206,255,255,255,~~~~~~ Alt Ability ~~~~~~

MGBA=3,5,218,255,234,8,Mass Group Buff - - - - 
MGBgreadyt=3,120,218,0,255,0,${If[${String[${Me.AltAbilityReady[Mass Group Buff]}].Equal["TRUE"]},Ready,]} 
MGBRednotready=3,120,218,255,0,0,${If[${String[${Me.AltAbilityReady[Mass Group Buff]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Mass Group Buff].TimeHMS}]} 

PSAAtext=3,5,230,255,234,8,Paragon of Spirit  - - - - 
PSgreenreadytext=3,120,230,0,255,0,${If[${String[${Me.AltAbilityReady[Paragon of Spirit]}].Equal["TRUE"]},Ready,]} 
PSRednotready=3,120,230,255,0,0,${If[${String[${Me.AltAbilityReady[Paragon of Spirit]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Paragon of Spirit].TimeHMS}]} 

FS3text=3,5,242,255,234,8,Frenzy of Spirit  - - - - - 
FS3greenreadytext=3,120,242,0,255,0,${If[${String[${Me.AltAbilityReady[Frenzy of Spirit]}].Equal["TRUE"]},Ready,]} 
FS3Rednotready=3,120,242,255,0,0,${If[${String[${Me.AltAbilityReady[Frenzy of Spirit]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Frenzy of Spirit].TimeHMS}]} 

HSAAtext=3,5,254,255,234,8,Hobble of Spirits  - - - - 
HSgreenreadytext=3,120,254,0,255,0,${If[${String[${Me.AltAbilityReady[Hobble of Spirits]}].Equal["TRUE"]},Ready,]} 
HSRednotready=3,120,254,255,0,0,${If[${String[${Me.AltAbilityReady[Hobble of Spirits]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Hobble of Spirits].TimeHMS}]} 

MCAAtext=3,5,266,255,234,8,Mend Companion - - - - 
MCgreenreadytext=3,120,266,0,255,0,${If[${String[${Me.AltAbilityReady[Mend Companion]}].Equal["TRUE"]},Ready,]} 
MCRednotready=3,120,266,255,0,0,${If[${String[${Me.AltAbilityReady[Mend Companion]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Mend Companion].TimeHMS}]} 


============================================================================================================================================================

[cleric]
cast=3,500,300,255,255,0,${If[${Me.Casting.ID}>0,${Me.Casting} ( ${Target.CleanName} ),]}
mana=3,500,312,255,255,0,${If[${Me.Casting.ID}>0,Mana: ${Me.CurrentMana} / ${Me.MaxMana},]}
CursorItemName=7,-15,-15,255,255,255,${If[${Cursor.ID},${Cursor},]}

Time=3,5,38,255,255,255,Real Time: ${Time}
LastTell=3,5,50,255,255,255,LastTell - ${MacroQuest.LastTell} 
Spawn1=3,5,62,255,255,0,${If[${NearestSpawn[1,npc #].Name.NotEqual["NULL"]},${NearestSpawn[1,npc #].Level},]} - ${If[${NearestSpawn[1,npc #].Name.NotEqual["NULL"]},${NearestSpawn[1,npc #].Name},]} 
Spawn2=3,5,74,255,255,0,${If[${NearestSpawn[2,npc #].Name.NotEqual["NULL"]},${NearestSpawn[2,npc #].Level},]} - ${If[${NearestSpawn[2,npc #].Name.NotEqual["NULL"]},${NearestSpawn[2,npc #].Name},]} 
Spawn3=3,5,86,255,255,0,${If[${NearestSpawn[3,npc #].Name.NotEqual["NULL"]},${NearestSpawn[3,npc #].Level},]} - ${If[${NearestSpawn[3,npc #].Name.NotEqual["NULL"]},${NearestSpawn[3,npc #].Name},]} 
Spawn4=3,5,98,255,255,0,${If[${NearestSpawn[4,npc #].Name.NotEqual["NULL"]},${NearestSpawn[4,npc #].Level},]} - ${If[${NearestSpawn[4,npc #].Name.NotEqual["NULL"]},${NearestSpawn[4,npc #].Name},]} 

Target=3,5,110,255,255,255,~~~~~~ Target Data ~~~~~~
TData1=3,5,122,255,255,255,${If[${Target.ID},Name: ${Target.CleanName} ( ${Target.Race} ),]}
TData2=3,5,134,255,255,255,${If[${Target.ID},Class: ${Target.Level} ${Target.Class},]}
TData3=3,5,146,255,255,255,${If[${Target.ID},Distance:  ${Target.Distance},]}
TData4=3,5,158,255,255,255,${If[${Target.ID},Melee Range: ${Target.MaxRange},]}


Player=3,5,170,255,255,255,~~~~~~ Player Data ~~~~~~
PData1=3,5,182,255,255,255,Hit Points:
PData1a=3,80,182,255,255,255,${Me.CurrentHPs} / ${Me.MaxHPs} (${Me.HPRegen})
PData2=3,5,194,255,255,255,Mana:
PData2a=3,80,194,255,255,255,${Me.CurrentMana} / ${Me.MaxMana} (${Me.ManaRegen})


AA=3,5,206,255,255,255,~~~~~~ Alt Ability ~~~~~~

MGBA=3,5,218,255,234,8,Mass Group Buff - - - - 
MGBgreadyt=3,120,218,0,255,0,${If[${String[${Me.AltAbilityReady[Mass Group Buff]}].Equal["TRUE"]},Ready,]} 
MGBRednotready=3,120,218,255,0,0,${If[${String[${Me.AltAbilityReady[Mass Group Buff]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Mass Group Buff].TimeHMS}]} 

CRAAtext=3,5,230,255,234,8,Celestial Regeneration 
CRgreenreadytext=3,120,230,0,255,0,${If[${String[${Me.AltAbilityReady[Celestial Regeneration]}].Equal["TRUE"]},Ready,]} 
CRRednotready=3,120,230,255,0,0,${If[${String[${Me.AltAbilityReady[Celestial Regeneration]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Celestial Regeneration].TimeHMS}]} 

RC3text=3,5,242,255,234,8,Radiant Cure - - - - - - - 
RC3greenreadytext=3,120,242,0,255,0,${If[${String[${Me.AltAbilityReady[Radiant Cure]}].Equal["TRUE"]},Ready,]} 
RC3Rednotready=3,120,242,255,0,0,${If[${String[${Me.AltAbilityReady[Radiant Cure]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Radiant Cure].TimeHMS}]} 

DvAAtext=3,5,254,255,234,8,Divine Arbitration - - - - 
Dvgreenreadytext=3,120,254,0,255,0,${If[${String[${Me.AltAbilityReady[Divine Arbitration]}].Equal["TRUE"]},Ready,]} 
DvRednotready=3,120,254,255,0,0,${If[${String[${Me.AltAbilityReady[Divine Arbitration]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Divine Arbitration].TimeHMS}]} 

BDAAtext=3,5,266,255,234,8,Bestow Divine Aura - - 
BDgreenreadytext=3,120,266,0,255,0,${If[${String[${Me.AltAbilityReady[Bestow Divine Aura]}].Equal["TRUE"]},Ready,]} 
BDRednotready=3,120,266,255,0,0,${If[${String[${Me.AltAbilityReady[Bestow Divine Aura]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Bestow Divine Aura].TimeHMS}]} 

BRAAtext=3,5,278,255,234,8,Divine Resurrection  - - 
BRgreenreadytext=3,120,278,0,255,0,${If[${String[${Me.AltAbilityReady[Bestow Divine Aura]}].Equal["TRUE"]},Ready,]} 
BRRednotready=3,120,278,255,0,0,${If[${String[${Me.AltAbilityReady[Bestow Divine Aura]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Bestow Divine Aura].TimeHMS}]} 


============================================================================================================================================================

[Druid]
cast=3,500,300,255,255,0,${If[${Me.Casting.ID}>0,${Me.Casting} ( ${Target.CleanName} ),]}
mana=3,500,312,255,255,0,${If[${Me.Casting.ID}>0,Mana: ${Me.CurrentMana} / ${Me.MaxMana},]}
CursorItemName=7,-15,-15,255,255,255,${If[${Cursor.ID},${Cursor},]}

Time=3,5,38,255,255,255,Real Time: ${Time}
LastTell=3,5,50,255,255,255,LastTell - ${MacroQuest.LastTell} 
Spawn1=3,5,62,255,255,0,${If[${NearestSpawn[1,npc #].Name.NotEqual["NULL"]},${NearestSpawn[1,npc #].Level},]} - ${If[${NearestSpawn[1,npc #].Name.NotEqual["NULL"]},${NearestSpawn[1,npc #].Name},]} 
Spawn2=3,5,74,255,255,0,${If[${NearestSpawn[2,npc #].Name.NotEqual["NULL"]},${NearestSpawn[2,npc #].Level},]} - ${If[${NearestSpawn[2,npc #].Name.NotEqual["NULL"]},${NearestSpawn[2,npc #].Name},]} 
Spawn3=3,5,86,255,255,0,${If[${NearestSpawn[3,npc #].Name.NotEqual["NULL"]},${NearestSpawn[3,npc #].Level},]} - ${If[${NearestSpawn[3,npc #].Name.NotEqual["NULL"]},${NearestSpawn[3,npc #].Name},]} 
Spawn4=3,5,98,255,255,0,${If[${NearestSpawn[4,npc #].Name.NotEqual["NULL"]},${NearestSpawn[4,npc #].Level},]} - ${If[${NearestSpawn[4,npc #].Name.NotEqual["NULL"]},${NearestSpawn[4,npc #].Name},]} 

Target=3,5,110,255,255,255,~~~~~~ Target Data ~~~~~~
TData1=3,5,122,255,255,255,${If[${Target.ID},Name: ${Target.CleanName} ( ${Target.Race} ),]}
TData2=3,5,134,255,255,255,${If[${Target.ID},Class: ${Target.Level} ${Target.Class},]}
TData3=3,5,146,255,255,255,${If[${Target.ID},Distance:  ${Target.Distance},]}
TData4=3,5,158,255,255,255,${If[${Target.ID},Melee Range: ${Target.MaxRange},]}


Player=3,5,170,255,255,255,~~~~~~ Player Data ~~~~~~
PData1=3,5,182,255,255,255,Hit Points:
PData1a=3,80,182,255,255,255,${Me.CurrentHPs} / ${Me.MaxHPs} (${Me.HPRegen})
PData2=3,5,194,255,255,255,Mana:
PData2a=3,80,194,255,255,255,${Me.CurrentMana} / ${Me.MaxMana} (${Me.ManaRegen})


AA=3,5,206,255,255,255,~~~~~~ Alt Ability ~~~~~~

MGBA=3,5,218,255,234,8,Mass Group Buff - - - - 
MGBgreadyt=3,120,218,0,255,0,${If[${String[${Me.AltAbilityReady[Mass Group Buff]}].Equal["TRUE"]},Ready,]} 
MGBRednotready=3,120,218,255,0,0,${If[${String[${Me.AltAbilityReady[Mass Group Buff]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Mass Group Buff].TimeHMS}]} 

SWAAtext=3,5,230,255,234,8,Spirit of the Wood  - - -
SWgreenreadytext=3,120,230,0,255,0,${If[${String[${Me.AltAbilityReady[Spirit of the Wood]}].Equal["TRUE"]},Ready,]} 
SWRednotready=3,120,230,255,0,0,${If[${String[${Me.AltAbilityReady[Spirit of the Wood]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Spirit of the Wood].TimeHMS}]} 

RC3text=3,5,242,255,234,8,Radiant Cure - - - - - - - 
RC3greenreadytext=3,120,242,0,255,0,${If[${String[${Me.AltAbilityReady[Radiant Cure]}].Equal["TRUE"]},Ready,]} 
RC3Rednotready=3,120,242,255,0,0,${If[${String[${Me.AltAbilityReady[Radiant Cure]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Radiant Cure].TimeHMS}]} 

WWAAtext=3,5,254,255,234,8,Wrath of the Wild - - - - 
WWgreenreadytext=3,120,254,0,255,0,${If[${String[${Me.AltAbilityReady[Wrath of the Wild]}].Equal["TRUE"]},Ready,]} 
WWRednotready=3,120,254,255,0,0,${If[${String[${Me.AltAbilityReady[Wrath of the Wild]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Wrath of the Wild].TimeHMS}]} 


============================================================================================================================================================

[Mage]
cast=3,500,300,255,255,0,${If[${Me.Casting.ID}>0,${Me.Casting} ( ${Target.CleanName} ),]}
mana=3,500,312,255,255,0,${If[${Me.Casting.ID}>0,Mana: ${Me.CurrentMana} / ${Me.MaxMana},]}
CursorItemName=7,-15,-15,255,255,255,${If[${Cursor.ID},${Cursor},]}

Time=3,5,38,255,255,255,Real Time: ${Time}
LastTell=3,5,50,255,255,255,LastTell - ${MacroQuest.LastTell} 
Spawn1=3,5,62,255,255,0,${If[${NearestSpawn[1,npc #].Name.NotEqual["NULL"]},${NearestSpawn[1,npc #].Level},]} - ${If[${NearestSpawn[1,npc #].Name.NotEqual["NULL"]},${NearestSpawn[1,npc #].Name},]} 
Spawn2=3,5,74,255,255,0,${If[${NearestSpawn[2,npc #].Name.NotEqual["NULL"]},${NearestSpawn[2,npc #].Level},]} - ${If[${NearestSpawn[2,npc #].Name.NotEqual["NULL"]},${NearestSpawn[2,npc #].Name},]} 
Spawn3=3,5,86,255,255,0,${If[${NearestSpawn[3,npc #].Name.NotEqual["NULL"]},${NearestSpawn[3,npc #].Level},]} - ${If[${NearestSpawn[3,npc #].Name.NotEqual["NULL"]},${NearestSpawn[3,npc #].Name},]} 
Spawn4=3,5,98,255,255,0,${If[${NearestSpawn[4,npc #].Name.NotEqual["NULL"]},${NearestSpawn[4,npc #].Level},]} - ${If[${NearestSpawn[4,npc #].Name.NotEqual["NULL"]},${NearestSpawn[4,npc #].Name},]} 

Target=3,5,110,255,255,255,~~~~~~ Target Data ~~~~~~
TData1=3,5,122,255,255,255,${If[${Target.ID},Name: ${Target.CleanName} ( ${Target.Race} ),]}
TData2=3,5,134,255,255,255,${If[${Target.ID},Class: ${Target.Level} ${Target.Class},]}
TData3=3,5,146,255,255,255,${If[${Target.ID},Distance:  ${Target.Distance},]}
TData4=3,5,158,255,255,255,${If[${Target.ID},Melee Range: ${Target.MaxRange},]}


Player=3,5,170,255,255,255,~~~~~~ Player Data ~~~~~~
PData1=3,5,182,255,255,255,Hit Points:
PData1a=3,80,182,255,255,255,${Me.CurrentHPs} / ${Me.MaxHPs} (${Me.HPRegen})
PData2=3,5,194,255,255,255,Mana:
PData2a=3,80,194,255,255,255,${Me.CurrentMana} / ${Me.MaxMana} (${Me.ManaRegen})


AA=3,5,206,255,255,255,~~~~~~ Alt Ability ~~~~~~

MGBA=3,5,218,255,234,8,Mass Group Buff - - - - 
MGBgreadyt=3,120,218,0,255,0,${If[${String[${Me.AltAbilityReady[Mass Group Buff]}].Equal["TRUE"]},Ready,]} 
MGBRednotready=3,120,218,255,0,0,${If[${String[${Me.AltAbilityReady[Mass Group Buff]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Mass Group Buff].TimeHMS}]} 

FBAAtext=3,5,230,255,234,8,Frezied Burnout - - - - -
FBgreenreadytext=3,120,230,0,255,0,${If[${String[${Me.AltAbilityReady[Frezied Burnout]}].Equal["TRUE"]},Ready,]} 
FBRednotready=3,120,230,255,0,0,${If[${String[${Me.AltAbilityReady[Frezied Burnout]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Frezied Burnout].TimeHMS}]} 

MC3text=3,5,242,255,234,8,Mend Companion  - - - -
MC3greenreadytext=3,120,242,0,255,0,${If[${String[${Me.AltAbilityReady[Mend Companion]}].Equal["TRUE"]},Ready,]} 
MC3Rednotready=3,120,242,255,0,0,${If[${String[${Me.AltAbilityReady[Mend Companion]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Mend Companion].TimeHMS}]} 

HEAAtext=3,5,254,255,234,8,Host of Elements - - - - 
HEgreenreadytext=3,120,254,0,255,0,${If[${String[${Me.AltAbilityReady[Host of Elements]}].Equal["TRUE"]},Ready,]} 
HERednotready=3,120,254,255,0,0,${If[${String[${Me.AltAbilityReady[Host of Elements]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Host of Elements].TimeHMS}]} 

SRAAtext=3,5,266,255,234,8,Servant of Ro  - - - - - - 
SRgreenreadytext=3,120,266,0,255,0,${If[${String[${Me.AltAbilityReady[Servant of Ro]}].Equal["TRUE"]},Ready,]} 
SRRednotready=3,120,266,255,0,0,${If[${String[${Me.AltAbilityReady[Servant of Ro]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Servant of Ro].TimeHMS}]} 


============================================================================================================================================================

[Shaman]
cast=3,500,300,255,255,0,${If[${Me.Casting.ID}>0,${Me.Casting} ( ${Target.CleanName} ),]}
mana=3,500,312,255,255,0,${If[${Me.Casting.ID}>0,Mana: ${Me.CurrentMana} / ${Me.MaxMana},]}
CursorItemName=7,-15,-15,255,255,255,${If[${Cursor.ID},${Cursor},]}

Time=3,5,38,255,255,255,Real Time: ${Time}
LastTell=3,5,50,255,255,255,LastTell - ${MacroQuest.LastTell} 
Spawn1=3,5,62,255,255,0,${If[${NearestSpawn[1,npc #].Name.NotEqual["NULL"]},${NearestSpawn[1,npc #].Level},]} - ${If[${NearestSpawn[1,npc #].Name.NotEqual["NULL"]},${NearestSpawn[1,npc #].Name},]} 
Spawn2=3,5,74,255,255,0,${If[${NearestSpawn[2,npc #].Name.NotEqual["NULL"]},${NearestSpawn[2,npc #].Level},]} - ${If[${NearestSpawn[2,npc #].Name.NotEqual["NULL"]},${NearestSpawn[2,npc #].Name},]} 
Spawn3=3,5,86,255,255,0,${If[${NearestSpawn[3,npc #].Name.NotEqual["NULL"]},${NearestSpawn[3,npc #].Level},]} - ${If[${NearestSpawn[3,npc #].Name.NotEqual["NULL"]},${NearestSpawn[3,npc #].Name},]} 
Spawn4=3,5,98,255,255,0,${If[${NearestSpawn[4,npc #].Name.NotEqual["NULL"]},${NearestSpawn[4,npc #].Level},]} - ${If[${NearestSpawn[4,npc #].Name.NotEqual["NULL"]},${NearestSpawn[4,npc #].Name},]} 

Target=3,5,110,255,255,255,~~~~~~ Target Data ~~~~~~
TData1=3,5,122,255,255,255,${If[${Target.ID},Name: ${Target.CleanName} ( ${Target.Race} ),]}
TData2=3,5,134,255,255,255,${If[${Target.ID},Class: ${Target.Level} ${Target.Class},]}
TData3=3,5,146,255,255,255,${If[${Target.ID},Distance:  ${Target.Distance},]}
TData4=3,5,158,255,255,255,${If[${Target.ID},Melee Range: ${Target.MaxRange},]}


Player=3,5,170,255,255,255,~~~~~~ Player Data ~~~~~~
PData1=3,5,182,255,255,255,Hit Points:
PData1a=3,80,182,255,255,255,${Me.CurrentHPs} / ${Me.MaxHPs} (${Me.HPRegen})
PData2=3,5,194,255,255,255,Mana:
PData2a=3,80,194,255,255,255,${Me.CurrentMana} / ${Me.MaxMana} (${Me.ManaRegen})


AA=3,5,206,255,255,255,~~~~~~ Alt Ability ~~~~~~

MGBA=3,5,218,255,234,8,Mass Group Buff - - - - 
MGBgreadyt=3,120,218,0,255,0,${If[${String[${Me.AltAbilityReady[Mass Group Buff]}].Equal["TRUE"]},Ready,]} 
MGBRednotready=3,120,218,255,0,0,${If[${String[${Me.AltAbilityReady[Mass Group Buff]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Mass Group Buff].TimeHMS}]} 

C5AAtext=3,5,230,255,234,8,Cannibalization   - - - - -
C5greenreadytext=3,120,230,0,255,0,${If[${String[${Me.AltAbilityReady[Cannibalization]}].Equal["TRUE"]},Ready,]} 
C5Rednotready=3,120,230,255,0,0,${If[${String[${Me.AltAbilityReady[Cannibalization]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Cannibalization].TimeHMS}]} 

RC3text=3,5,242,255,234,8,Radiant Cure - - - - - - - 
RC3greenreadytext=3,120,242,0,255,0,${If[${String[${Me.AltAbilityReady[Radiant Cure]}].Equal["TRUE"]},Ready,]} 
RC3Rednotready=3,120,242,255,0,0,${If[${String[${Me.AltAbilityReady[Radiant Cure]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Radiant Cure].TimeHMS}]} 

SCAAtext=3,5,254,255,234,8,Spirit Call   - - - - - - - - -
SCgreenreadytext=3,120,254,0,255,0,${If[${String[${Me.AltAbilityReady[Spirit Call]}].Equal["TRUE"]},Ready,]} 
SCRednotready=3,120,254,255,0,0,${If[${String[${Me.AltAbilityReady[Spirit Call]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Spirit Call].TimeHMS}]} 


============================================================================================================================================================

[War]
cast=3,500,300,255,255,0,${If[${Me.Casting.ID}>0,${Me.Casting} ( ${Target.CleanName} ),]}
CursorItemName=7,-15,-15,255,255,255,${If[${Cursor.ID},${Cursor},]}

Time=3,5,38,255,255,255,Real Time: ${Time}
LastTell=3,5,50,255,255,255,LastTell - ${MacroQuest.LastTell} 
Spawn1=3,5,62,255,255,0,${If[${NearestSpawn[1,npc #].Name.NotEqual["NULL"]},${NearestSpawn[1,npc #].Level},]} - ${If[${NearestSpawn[1,npc #].Name.NotEqual["NULL"]},${NearestSpawn[1,npc #].Name},]} 
Spawn2=3,5,74,255,255,0,${If[${NearestSpawn[2,npc #].Name.NotEqual["NULL"]},${NearestSpawn[2,npc #].Level},]} - ${If[${NearestSpawn[2,npc #].Name.NotEqual["NULL"]},${NearestSpawn[2,npc #].Name},]} 
Spawn3=3,5,86,255,255,0,${If[${NearestSpawn[3,npc #].Name.NotEqual["NULL"]},${NearestSpawn[3,npc #].Level},]} - ${If[${NearestSpawn[3,npc #].Name.NotEqual["NULL"]},${NearestSpawn[3,npc #].Name},]} 
Spawn4=3,5,98,255,255,0,${If[${NearestSpawn[4,npc #].Name.NotEqual["NULL"]},${NearestSpawn[4,npc #].Level},]} - ${If[${NearestSpawn[4,npc #].Name.NotEqual["NULL"]},${NearestSpawn[4,npc #].Name},]} 

Target=3,5,110,255,255,255,~~~~~~ Target Data ~~~~~~
TData1=3,5,122,255,255,255,${If[${Target.ID},Name: ${Target.CleanName} ( ${Target.Race} ),]}
TData2=3,5,134,255,255,255,${If[${Target.ID},Class: ${Target.Level} ${Target.Class},]}
TData3=3,5,146,255,255,255,${If[${Target.ID},Distance:  ${Target.Distance},]}
TData4=3,5,158,255,255,255,${If[${Target.ID},Melee Range: ${Target.MaxRange},]}


Player=3,5,170,255,255,255,~~~~~~ Player Data ~~~~~~
PData1=3,5,182,255,255,255,Hit Points:
PData1a=3,80,182,255,255,255,${Me.CurrentHPs} / ${Me.MaxHPs} (${Me.HPRegen})
PData2=3,5,194,255,255,255,Endurance:
PData2a=3,80,194,255,255,255,${Me.Endurance} / ${Me.MaxEndurance} 

AA=3,5,206,255,255,255,~~~~~~ Alt Ability ~~~~~~

AEBA=3,5,218,255,234,8,Area Taunt  - - - - - - - - 
AEBgreadyt=3,120,218,0,255,0,${If[${String[${Me.AltAbilityReady[Area Taunt]}].Equal["TRUE"]},Ready,]} 
AEBRednotready=3,120,218,255,0,0,${If[${String[${Me.AltAbilityReady[Area Taunt]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Area Taunt].TimeHMS}]} 

RPAAtext=3,5,230,255,234,8,Rampage     - - - - - - - -
RPgreenreadytext=3,120,230,0,255,0,${If[${String[${Me.AltAbilityReady[Rampage]}].Equal["TRUE"]},Ready,]} 
RPRednotready=3,120,230,255,0,0,${If[${String[${Me.AltAbilityReady[Rampage]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Rampage].TimeHMS}]} 

WC3text=3,5,242,255,234,8,Warcry - - - - - - - - - - -
WC3greenreadytext=3,120,242,0,255,0,${If[${String[${Me.AltAbilityReady[Warcry]}].Equal["TRUE"]},Ready,]} 
WC3Rednotready=3,120,242,255,0,0,${If[${String[${Me.AltAbilityReady[Warcry]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Warcry].TimeHMS}]} 


Drumstix42
a grimling bloodguard
a grimling bloodguard
Posts: 808
Joined: Mon May 03, 2004 4:25 pm

Post by Drumstix42 » Mon Jul 19, 2004 12:13 am

Well put.

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Wed Jul 21, 2004 7:13 am

Is there any way to put the target's %hp in there?

I'm trying to learn, and will try: ${If[${Target.ID},LIFE%: ${Target.PctHPs}.]}
I think I have seen something simular. Sometimes I just want to turn off the UI and not bother with it, but still want to see the %hp of target.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

Drumstix42
a grimling bloodguard
a grimling bloodguard
Posts: 808
Joined: Mon May 03, 2004 4:25 pm

Post by Drumstix42 » Wed Jul 21, 2004 10:33 am

${If[ThisCondition,ThenThis,ElseThis]}

Don't forget commas ;)

${If[${Target.ID}, HP: ${Target.PctHPs},]}

close enough.

lycan138
decaying skeleton
decaying skeleton
Posts: 8
Joined: Mon Jun 21, 2004 2:29 pm

Post by lycan138 » Wed Sep 15, 2004 9:05 pm

This is really nice I integrated it with whati already had. However I am getting NULL on the mana. it shows my 6024/ NULL (21) andwhen i cast it shows my manan and null. any suggestions?

User avatar
Night Hawk
a grimling bloodguard
a grimling bloodguard
Posts: 590
Joined: Fri Aug 13, 2004 4:56 pm

Post by Night Hawk » Wed Sep 15, 2004 9:31 pm

Yes. Read the update posts when they are posted in the Annoucment Forum.

:!:

in_training
Craptastic
Posts: 115
Joined: Fri Oct 10, 2003 8:25 am

Post by in_training » Wed Sep 15, 2004 11:37 pm

Code: Select all

BRAAtext=3,5,278,255,234,8,Divine Resurrection  - -
BRgreenreadytext=3,120,278,0,255,0,${If[${String[${Me.AltAbilityReady[Bestow Divine Aura]}].Equal["TRUE"]},Ready,]}
BRRednotready=3,120,278,255,0,0,${If[${String[${Me.AltAbilityReady[Bestow Divine Aura]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Bestow Divine Aura].TimeHMS}]}
That's wrong.
Should be.

Code: Select all


BRAAtext=3,5,278,255,234,8,Divine Resurrection  - -
BRgreenreadytext=3,120,278,0,255,0,${If[${String[${Me.AltAbilityReady[Divine Resurrection]}].Equal["TRUE"]},Ready,]}
BRRednotready=3,120,278,255,0,0,${If[${String[${Me.AltAbilityReady[Divine Resurrection]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Divine Resurrection].TimeHMS}]}
[url=http://www.macroquest2.com/main.php?p=donate]Vote or Die!l[/url]

lycan138
decaying skeleton
decaying skeleton
Posts: 8
Joined: Mon Jun 21, 2004 2:29 pm

Post by lycan138 » Wed Sep 15, 2004 11:41 pm

CLERIC AA's and macro, grp leader, raid info (not sure raid info works)

[cleric]
cast=3,500,300,255,255,0,${If[${Me.Casting.ID}>0,${Me.Casting} ( ${Target.CleanName} ),]}
mana=3,500,312,255,255,0,${If[${Me.Casting.ID}>0,Mana: ${Me.CurrentMana} / ${Me.MaxMana},]}
CursorItemName=7,-15,-15,255,255,255,${If[${Cursor.ID},${Cursor},]}

Time=3,5,38,255,255,255,Real Time: ${Time}
LastTell=3,5,50,255,255,255,LastTell - ${MacroQuest.LastTell}
Macro=3,5,62,255,255,255,Macro - ${If[${Macro.Name.NotEqual["NULL"]},${Macro.Name},]}
Raid=3,5,74,255,255,255,${If[${Raid.Members}>0,In Raid - ${Raid.Members},]} ${If[${Raid.Members}>0,Raid Level - ${Raid.AverageLevel},]}
GroupLeader=3,5,86,180,180,180,Group Leader : ${GroupLeader.Name}


Target=3,5,110,255,255,255,~~~~~~ Target Data ~~~~~~
TData1=3,5,122,255,255,255,${If[${Target.ID},Name: ${Target.CleanName} ( ${Target.Race} ),]}
TData2=3,5,134,255,255,255,${If[${Target.ID},Class: ${Target.Level} ${Target.Class},]}
TData3=3,5,146,255,255,255,${If[${Target.ID},Distance: ${Target.Distance},]}
TData4=3,5,158,255,255,255,${If[${Target.ID},Melee Range: ${Target.MaxRange},]}


Player=3,5,170,255,255,255,~~~~~~ Player Data ~~~~~~
PData1=3,5,182,255,255,255,Hit Points:
PData1a=3,80,182,255,255,255,${Me.CurrentHPs} / ${Me.MaxHPs} (${Me.HPRegen})
PData2=3,5,194,255,255,255,Mana:
PData2a=3,80,194,255,255,255,${Me.CurrentMana} / ${Me.MaxMana} (${Me.ManaRegen})


AA=3,5,206,255,255,255,~~~~~~ Alt Ability ~~~~~~

MGBA=3,5,218,255,234,8,Mass Group Buff - - - -
MGBgreadyt=3,120,218,0,255,0,${If[${String[${Me.AltAbilityReady[Mass Group Buff]}].Equal["TRUE"]},Ready,]}
MGBRednotready=3,120,218,255,0,0,${If[${String[${Me.AltAbilityReady[Mass Group Buff]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Mass Group Buff].TimeHMS}]}

CRAAtext=3,5,230,255,234,8,Celestial Regeneration
CRgreenreadytext=3,120,230,0,255,0,${If[${String[${Me.AltAbilityReady[Celestial Regeneration]}].Equal["TRUE"]},Ready,]}
CRRednotready=3,120,230,255,0,0,${If[${String[${Me.AltAbilityReady[Celestial Regeneration]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Celestial Regeneration].TimeHMS}]}

RC3text=3,5,242,255,234,8,Radiant Cure - - - - - - -
RC3greenreadytext=3,120,242,0,255,0,${If[${String[${Me.AltAbilityReady[Radiant Cure]}].Equal["TRUE"]},Ready,]}
RC3Rednotready=3,120,242,255,0,0,${If[${String[${Me.AltAbilityReady[Radiant Cure]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Radiant Cure].TimeHMS}]}

DvAAtext=3,5,254,255,234,8,Divine Arbitration - - - -
Dvgreenreadytext=3,120,254,0,255,0,${If[${String[${Me.AltAbilityReady[Divine Arbitration]}].Equal["TRUE"]},Ready,]}
DvRednotready=3,120,254,255,0,0,${If[${String[${Me.AltAbilityReady[Divine Arbitration]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Divine Arbitration].TimeHMS}]}

BDAAtext=3,5,266,255,234,8,Bestow Divine Aura - -
BDgreenreadytext=3,120,266,0,255,0,${If[${String[${Me.AltAbilityReady[Bestow Divine Aura]}].Equal["TRUE"]},Ready,]}
BDRednotready=3,120,266,255,0,0,${If[${String[${Me.AltAbilityReady[Bestow Divine Aura]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Bestow Divine Aura].TimeHMS}]}

DRAAtext=3,5,278,255,234,8,Divine Resurrection - -
DRgreenreadytext=3,120,278,0,255,0,${If[${String[${Me.AltAbilityReady[Divine Resurrection]}].Equal["TRUE"]},Ready,]}
DRRednotready=3,120,278,255,0,0,${If[${String[${Me.AltAbilityReady[Divine Resurrection]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Divine Resurrection].TimeHMS}]}

PSAAtext=3,5,290,255,234,8,Purify Soul - - - - - - - -
PSgreenreadytext=3,120,290,0,255,0,${If[${String[${Me.AltAbilityReady[Purify Soul]}].Equal["TRUE"]},Ready,]}
PSRednotready=3,120,290,255,0,0,${If[${String[${Me.AltAbilityReady[Purify Soul]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Purify Soul].TimeHMS}]}

IUAAtext=3,5,302,255,234,8,Innate IVU - - - - - - - -
IUgreenreadytext=3,120,302,0,255,0,${If[${String[${Me.AltAbilityReady[Innate Invis to Undead]}].Equal["TRUE"]},Ready,]}
IURednotready=3,120,302,255,0,0,${If[${String[${Me.AltAbilityReady[Innate Invis to Undead]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Innate Invis to Undead].TimeHMS}]}

TUAAtext=3,5,314,255,234,8,Turn Undead - - - - - -
TUgreenreadytext=3,120,314,0,255,0,${If[${String[${Me.AltAbilityReady[Turn Undead]}].Equal["TRUE"]},Ready,]}
TURednotready=3,120,314,255,0,0,${If[${String[${Me.AltAbilityReady[Turn Undead]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Turn Undead].TimeHMS}]}

DAAAtext=3,5,326,255,234,8,Divine Avatar - - - - - -
DAgreenreadytext=3,120,326,0,255,0,${If[${String[${Me.AltAbilityReady[Divine Avatar]}].Equal["TRUE"]},Ready,]}
DARednotready=3,120,326,255,0,0,${If[${String[${Me.AltAbilityReady[Divine Avatar]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Dvine Avatar].TimeHMS}]}

EBAAtext=3,5,338,255,234,8,Exquisite Benediction -
EBgreenreadytext=3,120,338,0,255,0,${If[${String[${Me.AltAbilityReady[Exquisite Benediction]}].Equal["TRUE"]},Ready,]}
EBRednotready=3,120,338,255,0,0,${If[${String[${Me.AltAbilityReady[Exquisite Benediction]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Exquisite Benediction].TimeHMS}]}

lva
orc pawn
orc pawn
Posts: 18
Joined: Sat Sep 11, 2004 8:04 pm

Post by lva » Mon Sep 20, 2004 12:27 am

Spawn1=3,5,62,255,255,0,${If[${NearestSpawn[1,npc #].Name.NotEqual["NULL"]},${NearestSpawn[1,npc #].Level},]} - ${If[${NearestSpawn[1,npc #].Name.NotEqual["NULL"]},${NearestSpawn[1,npc #].Name},]}
Spawn2=3,5,74,255,255,0,${If[${NearestSpawn[2,npc #].Name.NotEqual["NULL"]},${NearestSpawn[2,npc #].Level},]} - ${If[${NearestSpawn[2,npc #].Name.NotEqual["NULL"]},${NearestSpawn[2,npc #].Name},]}
Spawn3=3,5,86,255,255,0,${If[${NearestSpawn[3,npc #].Name.NotEqual["NULL"]},${NearestSpawn[3,npc #].Level},]} - ${If[${NearestSpawn[3,npc #].Name.NotEqual["NULL"]},${NearestSpawn[3,npc #].Name},]}
Spawn4=3,5,98,255,255,0,${If[${NearestSpawn[4,npc #].Name.NotEqual["NULL"]},${NearestSpawn[4,npc #].Level},]} - ${If[${NearestSpawn[4,npc #].Name.NotEqual["NULL"]},${NearestSpawn[4,npc #].Name},]}

I was in PoFire today, and realized the nameds I was looking for don't follow the # sign convention. While /npc # does not always appear reliable, I haven't yet found a problem with /npc named (cept in some GoD zones where NPCs you wouldn't kill meet the criteria)...

Is there any way to modify these lines to grab the real nameds? sorted by distance?

would the following work? :
Spawn1=3,5,62,255,255,0,${If[${NearestSpawn[1,npc named].Name.NotEqual["NULL"]},${NearestSpawn[1,npc named].Level},]} - ${If[${NearestSpawn[1,npc named].Name.NotEqual["NULL"]},${NearestSpawn[1,npc named].Name},]}
replacing the npc # with npc named... ?

Thanks

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

Post by Cr4zyb4rd » Mon Sep 20, 2004 1:47 am

Yes, this works. You'll get a lot of "false positives" for vendors and quest/raid mobs however.

lva
orc pawn
orc pawn
Posts: 18
Joined: Sat Sep 11, 2004 8:04 pm

Post by lva » Mon Sep 20, 2004 10:04 am

Thank you. guess I would rather have false positives than getting nothing in there while I'm staring in the face a named I've been camping.

Is this still an open issue for development? Being able to distinguish real nameds from quest NPCs/Vendors?

lycan138
decaying skeleton
decaying skeleton
Posts: 8
Joined: Mon Jun 21, 2004 2:29 pm

Post by lycan138 » Wed Sep 29, 2004 3:00 pm

How do we get Omen's aa timers to show? I followed the format I've used to add all the other AA's but the Omen's AA's just show as ready and then once you use it it doesn't show a timer. Also any idea about the new epics? can we get timers for those?