• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

No Item Sharing System

Status
Not open for further replies.
than make trigger
event:
unit drops item
action:
set variable:dropeditem=lastdroped item
set variable ovnerofunit=ovner of triggering unit
or actions:
add item to item group droped item


and another one

event:
unit has picked up item
condition:
ovner of picking unit not equal to ovnerofunit
picked item equal to dropeditem
action:
drop last picked item
 
Thats it but is not the whole trigger just the main idea

  • Event
  • A unit acquires an item
  • Conditions
  • Actions
  • If custom value of item being manipulated equal to 0 or player number of owner of triggering unit
  • set custom value of item being manipulated = player number of owner of triggering unit
  • else
  • order triggering unit to drop item being manipulated
 
Status
Not open for further replies.
Back
Top