So I took it from this system
But the problem is that the spell only casts at one point so can anyone spot the problem/help me out?
But the problem is that the spell only casts at one point so can anyone spot the problem/help me out?
Trigger:
- Chaotic Force Animation
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Chaotic Force
- Actions
- Set unit_cf = (Triggering unit)
- Set point_cf = (Position of unit_cf)
- Set real_cf = 0.00
- For each (Integer A) from 1 to 8, do (Actions)
- Loop - Actions
- Unit - Create 1 Dummy (Custom Campaign) for (Owner of unit_cf) at point_cf facing Default building facing degrees
- Unit - Turn collision for (Last created unit) Off
- Unit - Add (Chaotic Force) to (Last created unit)
- Unit - Set level of (Chaotic Force) for (Last created unit) to 1
- Set point_cf1[(Integer A)] = (point_cf offset by 256.00 towards real_cf degrees)
- Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm point_cf1[(Integer A)]
- Set real_cf = (real_cf + (360.00 / 80.00))
- Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
- Custom script: call RemoveLocation(udg_point_cf1[bj_forLoopAIndex])
- Loop - Actions
- Custom script: call RemoveLocation (udg_point_cf)
- Events