• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Item ownership?

Status
Not open for further replies.
Level 7
Joined
Mar 22, 2010
Messages
214
I just want to ask...
How to make item ownership like in DotA?
which when you wear the item but doesn't belong to you it will not add damage, armor, or stats, and turn also into look like disabled icon with "Item Doesn't belong" name below the item... and then you cannot destroy the item or sell it ... Thanks in advance.





:con: :hohum: :ugly: :eekani: :razz: :grin:
 
Level 8
Joined
Jan 8, 2008
Messages
454
Well you could do when item - last picked by owner of unit -blah- = true- is picked by -lasted picked by owner of unit -blah- = false- instantly drop item?

I don't have warcraft III on me so all I can do is guess from what I remember was in it.
 
Level 13
Joined
Mar 4, 2009
Messages
1,156
i think (99.99% sure) they use fake item for each item...so they just replace the real item with fake one if it gets to wrong owner

would it help if hero cant get/target item at all?

else you could make all item´s abilities in spellbook and diableing/enableing item´s ability would be easy

but than you cant make item go dark but you could set his charges to 0 so at item it will display "0"
 
Status
Not open for further replies.
Top