HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Certain units not allowed to pick up certain items

07-29-2007, 02:19 PM#1
InNeedofHelp
Alright, so, I'm trying to make a trigger that stops certain units from picking up certain items. This is because I want my map to allow different items for different characters, which makes them unique. I've tried all I could with the triggers, and nothing is working, so I came to the forums. I set up my trigger something like this.


Trigger:
Collapse Events:
Unit - A unit Acquires an item
Collapse Conditions:
Collapse Or - Any (Conditions) are true
Collapse Conditions:
(Item-type of (Item being Manipulated)) Equal to Ring of Animus
(Item-type of (Item being Manipulated)) Equal to Blade of Flames
Collapse Or - Any (Conditions) are true
Collapse Conditions:
(Unit-type of (Picked unit)) Equal to Antarctic Troll
(Unit-type of (Picked unit)) Equal to Antarctic Yeti
Collapse Actions:
Unit - Order (Picked Unit) to drop (Item being Manipulated) at (Position of (Picked unit))


Oh, and these are UNITS picking up the items, not HEROES.
I need it so they can't pick up the items, and if they try to, they drop them at their position.
I know it probably has something to do with the "Picked unit," but I can't figure out what it is.
Help is appreciated. Sorry, I'm somewhat a newbie at WE.
Thanks
07-29-2007, 03:19 PM#2
Veev
Picked Unit isn't what you want to use here... Maybe triggering unit will work.
07-29-2007, 04:15 PM#3
Naakaloh
Do you need an 'and' in there, or does that automatically apply in GUI?

Also, PLEASE use trigger tags.
07-29-2007, 06:48 PM#4
Pyrogasm
No, Naakaloh, he does not need an and statement. GUI automatically applies those.