• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

No Item Sharing System

Status
Not open for further replies.
Level 13
Joined
Jul 3, 2008
Messages
1,098
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
 
Level 3
Joined
Jul 20, 2008
Messages
41
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.
Top