mistahmikey
Active Member
Tried using Item.EffectDescription[#], but the returned text is always a zero length string. Is this a bug? Or is there some other way to get this text?
April 20, 2006 -- By Amadeus
[ISXEQ2-20060413c.zip]
* Fixed a very small bug with Me.Group...it may not have been causing any problems.
* Fixed a bug with Me.Ability[#]
* Added the following new MEMBERS to the 'item' datatype:
~ SubType (string type) [Note: This is the Weapon/Shield type recently added to the item examine window]
~ DamageType (string type)
~ DamageVerbType (string type)
[COLOR=#ffff00] ~ NumEffects (int type)[/COLOR]
[COLOR=#ffff00] ~ EffectName[#] (string type) [# = index of effect, 1-NumEffects][/COLOR]
[COLOR=#ffff00] ~ EffectDescription[#] (string type) [# = index of effect, 1-NumEffects][/COLOR]
(Note: Item Effects are often called 'procs'.)
* I have added back in most ISXEQ2 functionality for the pvp servers. Here is a new list of
limitations:
- ${Actor} and ${CustomActor} will return NULL for any PC, PET, or UNKNOWN type actors
unless they're in your group or raid.
- /where will never show any PC, PET, or UNKNOWN type actors.
- /target will not target any PC, PET or UNKNOWN type actors unless they're in your
group or raid
- /face will not face any PC, PET, or UNKNOWN type actors unless you have one targetted already or
unless they're in your group or raid.
atom EQ2_ExamineItemWindowAppeared(string ItemName, string WindowID)
{
echo ${ExamineItemWindow[${WindowID}].TextVector}
variable int TextVectorLen
variable int TextVectorIndex
TextVectorLen:Set[${ExamineItemWindow[${WindowID}].TextVector}]
for (TextVectorIndex:Set[1] ; ${TextVectorIndex} <= ${TextVectorLen} ; TextVectorIndex:Inc)
{
if ${ExamineItemWindow[${WindowID}].TextVector[${TextVectorIndex}].Label.Length} > 0
{
echo ${TextVectorIndex}: ${ExamineItemWindow[${WindowID}].TextVector[${TextVectorIndex}].Label}
}
}
}
atom atexit()
{
echo "Leaving ${Script.Filename}"
}
function main()
{
echo "Entering ${Script.Filename}"
Event[EQ2_ExamineItemWindowAppeared]:AttachAtom[EQ2_ExamineItemWindowAppeared]
do
{
waitframe
}
while ${ISXEQ2(exists)}
}