• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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