| 08-25-2004, 03:55 AM | #1 |
ok, I got this spell I making and it uses chain lightning as a base, so I have an array called UnitVar that keeps track of all the targets thats the lightning hits. This is how I set it up: Code:
[b]For each (Integer A) from 1 to 10, do (Actions)
Loop - Actions
Set IntVar = (Integer A)
Set UnitVar[IntVar] = (Target unit of ability being cast)[/b]
Set SweetsVar = (Triggering unit)
Custom script: call CasterCastAbility( GetOwningPlayer(udg_SweetsVar), 'A000', "polymorph", udg_UnitVar[udg_IntVar], true)but when I use the spell it still only morphs the first targeted unit... |
| 08-25-2004, 08:48 PM | #2 |
thtas because your only polymorphing the targetet unit, which is the unit that the player lcicks on... i think Lord Vexorian made a chain base spell that can do what ever you want, look in the dowloads section |
