Jump to content

Photo

itemdata->Cost , or itemdata->Attributes[]

itemdata items zscript class members attributes

  • Please log in to reply
No replies to this topic

#1 Timelord

Timelord

    The Timelord

  • Banned
  • Location:Prydon Academy

Posted 23 August 2015 - 05:10 PM

I'm looking through various bits of documentation, but I see no way to read the item properties: Magic Cost, use Rupees instead of Magic, Remove Item When Used, Hearts Required; plus Action tab's second attribute (this changes by item class); or any of the item attributes, such as 'sprite'. 

 

Is there a way to read these item attributes that I'm missing, other than generating a weapon on the screen? I have in fact, tried i->Attributes[] with itemdata, just to double-verify that the 'Attributes[]' array is not a member of the itemdata class.

 

Also missing is everything on the GFX panel, such as Animation Frames, and Link Tile Modifier. Note that reading itemdata is possible when a weapon is not on the screen, and this is the point of this thread; not modifying an lweapon that is on the screen.





Also tagged with one or more of these keywords: itemdata, items, zscript, class, members, attributes

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users