HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

what is the problem?

08-09-2005, 09:50 PM#1
duckduck
um.... what's the problem? i am 100% sure that it's not a object editor problem because i checked a few times, but i have no idea what's wrong with this trigger...
Quote:
Events
-Unit - A unit Starts the effect of an ability
Conditions
-And - All (Conditions) are true
--Conditions
---(Ability being cast) Equal to Flame Cage (Hero)
---(Level of Flame Cage (Hero) for (Casting unit)) Equal to 2
Actions
-Set FC__Caster = (Casting unit)
-Set FC__UnitTargets[1] = (Targeted unit)
-Set FC__UnitTargets[2] = (Random unit from (Units within 550.00 of (Position of FC__UnitTargets[1]) matching ((((Owner of (Matching unit)) is an enemy of (Owner of (Casting unit))) Equal to True) and (((Matching unit) Not equal to FC__UnitTargets[1]) and ((((Matching unit) is A struc
-Set FC__UnitTargets[3] = (Random unit from (Units within 550.00 of (Position of FC__UnitTargets[2]) matching ((((Owner of (Matching unit)) is an enemy of (Owner of (Casting unit))) Equal to True) and (((Matching unit) Not equal to FC__UnitTargets[1]) and ((((Matching unit) is A struc
-Unit - Create 1 Dummy Caster for (Owner of (Casting unit)) at (Position of FC__UnitTargets[1]) facing Default building facing (270.0) degrees
-Set FC__DummyCasters[1] = (Last created unit)
-Unit - Create 1 Dummy Caster for (Owner of (Casting unit)) at (Position of FC__UnitTargets[2]) facing Default building facing (270.0) degrees
-Set FC__DummyCasters[2] = (Last created unit)
-For each (Integer A) from 1 to 2, do (Actions)
--Loop - Actions
---Unit - Set Level of Flame Cage (Non-hero) for FC__DummyCasters[(Integer A)] to 2
-Unit - Order FC__DummyCasters[1] to Human Dragonhawk Rider - Aerial Shackles FC__UnitTargets[2]
-Unit - Order FC__DummyCasters[2] to Human Dragonhawk Rider - Aerial Shackles FC__UnitTargets[3]
-Wait 10.00 seconds
-For each (Integer A) from 1 to 2, do (Actions)
--Loop - Actions
---Unit - Remove FC__DummyCasters[(Integer A)] from the game
08-09-2005, 10:02 PM#2
Vexorian
Targeted unit is the event response for Order Events, for spell events use Target Unit of ability being cast
08-09-2005, 10:13 PM#3
duckduck
o... wow... oops...
thanks for the help