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

"can only carry one of those items"

Status
Not open for further replies.
Level 3
Joined
Jul 18, 2007
Messages
23
Hi !

I have been looking through some maps, for a Trigger that, posts a message if a hero trys to pick up an item, that he already got one of.

i aint good to explain this.
lets try this:

A hero pick up a Axe.

The hero already got a Sword in his bag.

then he drops the axe, and a message tells him that he can't the axe.

Any Simple way to do this?

this is intended for a Single player map so far.


Any1 who could help here?
 
Level 9
Joined
Apr 7, 2008
Messages
176
make a trigger

Unit acquires an item
Item being manipulated equal to axe
If then else
If - triggering unit has item (item of type (sword))
then - order triggering unit to drop item of type (axe or item being manipulated)
else - leave it blank if you got nothing to go here, dont put a Do Nothing people will yell at u. O.O
 
Status
Not open for further replies.
Top