Question about <item>.EffectDescription

mistahmikey

Active Member
Is this supposed to be the "bulletized" text that appears after the effect in the item examine window? If it is, then EffectDescription is not returning it properly - for me, it is always a zero length string. If not, then,

1) What is the EffectDescription supposed to hold?

2) Is there some other way to get that "bulletized" text (along the lines of what is possible for abilities)?
 

Amadeus

The Maestro
Staff member
Are you sure that you were using the member correctly? It requires a number argument.

Code:
April 20, 2006 -- By Amadeus
[ISXEQ2-20060413c.zip]
* Added the following new MEMBERS to the 'item' datatype:
  ~ EffectName[#]        (string type)  [# = index of effect, 1-NumEffects]
  ~ EffectDescription[#] (string type)  [# = index of effect, 1-NumEffects]
Attached is a sample script I wrote a LONG time ago that uses this member. I've not tested this script in years, so it may not work perfectly; however, the use of EffectName/EffectDescription should be good within it.
 

Attachments

mistahmikey

Active Member
Are you sure that you were using the member correctly? It requires a number argument.
Yep, using it exactly as you do in your example, nothing being returned. Was it your intention that it contain the bulletized text after "Effects:" - or something else that might not exist for the items I have checked it on?
 

Amadeus

The Maestro
Staff member
It may just be a bug, since I'm not sure anyone else really uses it. What's NumEffects returning? If you think it's a bug, make a bug report and I'll look into it.
 

mistahmikey

Active Member
NumEffects is 1, and EffectName[1] is correct, but EffectDescription[1] is a zero length string. Per your instructions in my other item-related post, I have moved this and my other concerns into a "Feature Request". Let me know if I need to do something different. Thanks.
 
Top Bottom