Jump to content

Photo

(ZC 2.54 question for testers) is it possible to retrieve item data


  • Please log in to reply
2 replies to this topic

#1 Shadowblitz16

Shadowblitz16

    Illustrious

  • Members

Posted 13 January 2017 - 02:04 PM

is it possible to retrieve item data from a lweapon? 

I want to know this because in ZC 2.54 beta you can read from item attributes, sprites, and flags.

I would like to use this to build my bomb class out of


Edited by Shadowblitz16, 13 January 2017 - 02:11 PM.


#2 Timelord

Timelord

    The Timelord

  • Banned
  • Location:Prydon Academy

Posted 14 January 2017 - 10:02 AM

is it possible to retrieve item data from a lweapon? 

I want to know this because in ZC 2.54 beta you can read from item attributes, sprites, and flags.

I would like to use this to build my bomb class out of

 

If the lweapon is spawned by an item, or item script, you could; if you need to read/modify its properties outside the global script.

 

Store the parent item ID in a weapon->Misc[] index, or read Link->UsingItem when the item is used.



#3 Shadowblitz16

Shadowblitz16

    Illustrious

  • Members

Posted 24 January 2017 - 04:54 PM

@ZoriaRPG can you give me a simple demonstration?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users