Greetings!
I havent done anything in the editor for about 3 months but today I started with a new spell idea. It's based on the engineers' ultimate in HoN, for you that havent played HoN, it's a machine that the hero places on the ground, creating a lightning field formed as a circle where enemies inside the circle get slowed and silenced.
Anyway. My problem is that I have no idea of how I can remove the lightning circle after 10 seconds and still be MUI...
Also I wana know if you can raise the lightning from the ground, right now the lightning is laying thight on the ground, and it looks ugly...
Here's my trigger:
I guess that local lightning variables could be a solution in here, but I haven't yet started to use JASS cuz i'm too lazy to search up a good tutorial and then read it
Good answers and correct answers = +rep!:thup:
I havent done anything in the editor for about 3 months but today I started with a new spell idea. It's based on the engineers' ultimate in HoN, for you that havent played HoN, it's a machine that the hero places on the ground, creating a lightning field formed as a circle where enemies inside the circle get slowed and silenced.
Anyway. My problem is that I have no idea of how I can remove the lightning circle after 10 seconds and still be MUI...
Also I wana know if you can raise the lightning from the ground, right now the lightning is laying thight on the ground, and it looks ugly...
Here's my trigger:
Trigger:
- Circle
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Thunder Clap
- Actions
- Set Point[1] = (Position of (Triggering unit))
- Unit - Create 1 Dummy Unit (Circle Middle) for (Owner of (Triggering unit)) at Point[1] facing Default building facing degrees
- Unit - Add a 10.00 second Generic expiration timer to (Last created unit)
- For each (Integer A) from 1 to 12, do (Actions)
- Loop - Actions
- Set Point[2] = (Point[1] offset by 650.00 towards ((360.00 / 12.00) x (Real((Integer A)))) degrees)
- Set Point[3] = (Point[1] offset by 650.00 towards ((360.00 / 12.00) x (1.00 + (Real((Integer A))))) degrees)
- Lightning - Create a Chain Lightning - Primary lightning effect from source Point[3] to target Point[2]
- Unit - Create 1 Dummy Unit (Circle Pole) for (Owner of (Triggering unit)) at Point[3] facing Default building facing degrees
- Unit - Add a 10.00 second Generic expiration timer to (Last created unit)
- Custom script: call RemoveLocation ( udg_Point[2])
- Custom script: call RemoveLocation ( udg_Point[3])
- Loop - Actions
- Custom script: call RemoveLocation ( udg_Point[1])
- Events
I guess that local lightning variables could be a solution in here, but I haven't yet started to use JASS cuz i'm too lazy to search up a good tutorial and then read it
Good answers and correct answers = +rep!:thup: