• 🏆 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!

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