HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Yet another?

09-03-2003, 11:06 PM#1
Eriond
I have yet another problem.

When I used this item in my inventory, I need it to trip the unit - unit uses item event. However, it doesn't seem to. It just slips by. The item doesn't have any charge, it can be used as many times as I want. It's target is a destructible.

Here's my very basic trigger which I thought up, because it might just solve all my problems.

EVENTS
Unit - Unit Uses an Item

CONDITIONS
Nil

ACTIONS
Set Lastuseditem(Player number of (Owner of (Hero Manipulating Item)) = (Item-Type of (Item Being Manipulated))

However no such luck. I've debugged the trigger, and just found out that it doesn't fire... how can I make it so that when I use my item on the destructible, it will trip the trigger?
09-04-2003, 03:53 AM#2
Panto
Don't quote me on this, but I seem to recall that the official Blizzard's bug list says that detecting an item event doesn't work correctly on staff items. You'll want to check the bug list yourself, of course.
09-04-2003, 12:00 PM#3
Eriond
Is there ay possible way to get around this? It's really important.....
09-04-2003, 01:00 PM#4
AllPainful
One workaround would be to make the item consumable with only 1 charge, and make a trigger so that when its used the hero is given a new one.
09-04-2003, 01:14 PM#5
Vexorian
[glow=color=black, strength=4]Or you could take a look at my tutorial:

Trigger Powered Items Tutorial[/glow]
09-04-2003, 08:42 PM#6
Eriond
Thanks alot guys, I'm gonna use Allpainful's idea.

Thanks again.
Eriond