- Joined
- Apr 15, 2008
- Messages
- 4
I've been working on this spell for about 12 hours... but I cant get the results I want.
I would like for the duration of the channeling to have a chain lighting to be cast every X seconds.
I can get it to endlessly cast chain lightnings and watch everything drop while lagging everything up.
Originally I just wanted a chain that would bounce 150 times or so and return to targets it hit before, but after looking at forums I believe Jass is required for that.
I tried throwing a wait(normal) or gametime and both stopped the trigger from working completely...
I also Use multiple triggers in order to achieve this spell if anyone could show me what I'm doing wrong or a way to compress it to one trigger I would appreciate it.
I would like for the duration of the channeling to have a chain lighting to be cast every X seconds.
I can get it to endlessly cast chain lightnings and watch everything drop while lagging everything up.
Originally I just wanted a chain that would bounce 150 times or so and return to targets it hit before, but after looking at forums I believe Jass is required for that.
I tried throwing a wait(normal) or gametime and both stopped the trigger from working completely...
I also Use multiple triggers in order to achieve this spell if anyone could show me what I'm doing wrong or a way to compress it to one trigger I would appreciate it.
-
Events
- Unit - A unit Begins channeling an ability
-
Conditions
- (Ability being cast) Equal to Endless Chain
-
Actions
- Unit - Create 1 Dummy Lightning for (Triggering player) at (Target point of ability being cast) facing 1.00 degrees
- Unit - Add dummy Endless Chain to (Last created unit)
- Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
- Unit - Order (Last created unit) to Orc Far Seer - Chain Lightning (Target unit of ability being cast)
- Set cl = True
-
Events
- Unit - A unit Begins casting an ability
-
Conditions
- (Ability being cast) Equal to dummy Endless Chain
-
Actions
- If (cl Equal to True) then do (Do nothing) else do (Skip remaining actions)
- Unit - Create 1 Dummy Lightning for (Triggering player) at (Target point of ability being cast) facing 1.00 degrees
- Unit - Add dummy Endless Chain to (Last created unit)
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Unit - Order (Last created unit) to Orc Far Seer - Chain Lightning (Target unit of ability being cast)
- Special Effect - Create a special effect at (Center of (Playable map area)) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
- Trigger - Run (This trigger) (checking conditions)
-
Events
- Unit - A unit Finishes casting an ability
-
Conditions
- (Ability being cast) Equal to Endless Chain
-
Actions
- Set cl = False