HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

summoned unit

07-09-2002, 05:24 PM#1
Guest
I'm getting tha creeps:

I made a trigger:

Events:
unit - player 1 uses an item
unit - player 2 uses an item
unit - player 3 uses an item
...
unit - player 12 uses an item

(global: if this item is used!)

Conditions:
Item-type of (Item being manipulated) is Equal to TheItem

Actions:
some nice self made effects...
Unit - Remove (summoned unit) from the game.

The Item summons a Felhound. The Felhound isnt removed (ARGh)

I can make a script where i remove any summoned unit, but then the ability "illusions" also doesnt work.
I cant remove the felhound, because it is using a unit which isnt registered...

other way round:
Actions:
some nice self made stuff....
Trigger - Run trigger (remove_them) checking conditions
OR ignoring conditions (ttried both)

remove_them:
Events:
Player 1 - Unit is summoned
... Player 12 - unit is summoned
Actions:
remove summoned unit.

remove_Them is initially NOT on.
(if i turn it on, it removes any summoned unit!)
BUT: if i run this trigger, it doesnt remove anything!

how do i access the summoned unit, if it is not in the conditions?