HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Spells and Items

05-08-2003, 06:03 PM#1
MMayfield45
In triggers how do you find out what unit has been clicked on for an item.

eg Using the wand of lightning shield and then clicking on a unit on the map. How do i find with triggers what unit was clicked on when an item is used?
05-08-2003, 07:03 PM#2
DaKaN
as far as i know there is no "triggering item" like there is triggering unit, but in a situation like this: You want to know when the player uses the wand of lighting and display a text message to him:

Player owned unit event - unit uses an item

conditions:
Item being manipulated is = to wand of lightning

actions
Game display text message "hi"
05-08-2003, 10:14 PM#3
Guest
Yep, I think thats correct.