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

Item event

Status
Not open for further replies.
Level 40
Joined
Dec 14, 2005
Messages
10,532
[jass=Is this what you mean?]call TriggerRegisterAnyUnitEventBJ(someTrigger,EVENT_PLAYER_UNIT_DROP_ITEM)

call TriggerRegisterAnyUnitEventBJ(someTrigger,EVENT_PLAYER_UNIT_PICKUP_ITEM)

call TriggerRegisterAnyUnitEventBJ(someTrigger,EVENT_PLAYER_UNIT_ISSUED_TARGET_ORDER)

call TriggerRegisterAnyUnitEventBJ(someTrigger,EVENT_PLAYER_UNIT_ISSUED_ORDER)

call TriggerRegisterAnyUnitEventBJ(someTrigger,EVENT_PLAYER_UNIT_ISSUED_POINT_ORDER)[/code]
 

Ice

Ice

Level 10
Joined
Sep 4, 2004
Messages
153
Yea i did it :p lol but i need help with this trigger:

Item being picked up = custom value =1
then remove item from inventory (to make room for that it)

but how can i set custom value of EVERY item in a region to = 1

(pick every item in (Weapons<gen> )
loop- item- set custom value of (picked item ) )

but it doesnt seem to accualy set each item's value to 1

and wasnt there a thing to make item - groups ><
 
Last edited:
Level 32
Joined
Oct 23, 2006
Messages
5,291
Hmmm, not sure (off the top of my head) just how to give each item in a region a GUI variable: there's GOT to be a way though.

[off-topic] Let's move this thread to the World Editor Help Zone so that more people will see it (and may have answers).

~ Thread moved.
 
Status
Not open for further replies.
Top