• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Item drop this same item and change owner

Status
Not open for further replies.
Level 5
Joined
Dec 21, 2012
Messages
89
Hi
Does unit change owner when is not selecting any group of units function is doing memory leak or it's not ? Also I have problem with item drop system when is this same item. I can't make it work. I can only make different items to look like this same one. Does anyone have link or make test map with item drop with this identical items
 
Level 5
Joined
Dec 21, 2012
Messages
89
When you copy for example +15 Claws of Attack(too bad there is no suffix for items). When you do drop item system with +15 Claws of Attack and copy +15 Claws of Attack will read as there are too different items. The problem is that it will take longer time but is working
 
Level 5
Joined
Dec 21, 2012
Messages
89
Does anyone knows a link to test map with item drop like armor limits which is working. The one I am using now is working but I think is taking memory because I have too many items.I am looking for something quicker, can be jass or gui

This one I use:
Events
Unit - A unit Acquires an item
Conditions
((Hero manipulating item) has an item of type Sturdy War Axe) Equal to True
((Triggering unit) is A Hero) Equal to True
((Hero manipulating item) has an item of type Spear of Nature) Equal to

Actions
Game - Display to Player Group - Player 7 (Green) the text: |cffffffffYou can u...
Hero - Drop (Item carried by (Triggering unit) of type Sturdy War Axe) from (Triggering unit)

I was trying to use this one but is not working

Events
Unit - A unit Acquires an item
Conditions
((Hero manipulating item) is A Hero) Equal to True
(Item-class of (Item being manipulated)) Equal to Campaign
Actions
Set Armor = 1
Set Armor = (Armor + 1)

Events
Unit - A unit Acquires an item
Conditions
((Hero manipulating item) is A Hero) Equal to True
Armor Greater than 2
(Item-class of (Item being manipulated)) Equal to Campaign
Actions
Hero - Drop (Item being manipulated) from (Hero manipulating item)
Game - Display to (All players) the text: |cffffffffYou can u...
 
Status
Not open for further replies.
Top