HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Spell Help

08-31-2003, 12:45 PM#1
BoZo
How do you detect the unit wich is targeted by a spell?
08-31-2003, 01:59 PM#2
cideh
Event
- A unit is issued an order targeting an object
Condition
-- (Issued order) equal to Something
Actions
--- Set SpellTarget = Target unit of issued order

Event
- A unit begins casting an ability
Condition
-- Ability being cast equal to SomeSpell
Actions
--- Do stuff here, SpellTarget is the targeted unit.