Electric Conduit v2.01

This bundle is marked as approved. It works and satisfies the submission rules.

Spell Preview

Spell Description

Requirements

EC_GIF.jpg
EC_ICON.jpg
Electric Conduit
The caster will begin to channel a lightning orb, instantly
knocking units away and dealing damage. During the duration
of the channel, the orb will emit lightning strikes that will
bounce off units. The caster will continue to knockback enemy
units that come close.​

Triggers

How to Install

Credits

Changelog

  • EC Config
    • Events
      • Map initialization
    • Conditions
    • Actions
      • -------- !! CONFIG START !! --------
      • -------- Abilities & Dummy --------
      • -------- NOTE: If you want to change the looping sfx, refer to this ability --------
      • Set EC_Ability = Electric Conduit
      • -------- Order ID for EC_Ability --------
      • Set EC_Order_ID = channel
      • -------- Chain Lightning Ability --------
      • -------- NOTE: If you want to edit anything about Chain Lightning (excluding intervals & instance per interval), refer to this ability --------
      • Set EC_AbilityCL = Electric Conduit (Chain Lightning)
      • -------- Dummy Unit --------
      • Set EC_Dummy = Dummy
      • -------- --------
      • -------- Special Effect for Overhead --------
      • Set EC_SFXOverhead = Abilities\Weapons\FarseerMissile\FarseerMissile.mdl
      • -------- Size of SFXOverhead --------
      • Set EC_SFXSize = 2.00
      • -------- Height of SFXOverHead --------
      • Set EC_SFXHeight = 325.00
      • -------- --------
      • -------- Duration of Spell Per Level --------
      • -------- NOTE: Make sure to match the Follow Through Time values in EC_Ability --------
      • Set EC_Duration[1] = 8.00
      • Set EC_Duration[2] = 10.00
      • Set EC_Duration[3] = 12.00
      • -------- Special Effect for Start of Channel --------
      • Set EC_SFXStart = Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
      • -------- Special Effect on Caster for Duration of Spell --------
      • Set EC_SFXCaster = Abilities\Spells\Orc\LightningShield\LightningShieldTarget.mdl
      • -------- Attachment Point for SFXCaster --------
      • Set EC_Attach_SFXCaster = origin
      • -------- --------
      • -------- Instant Damage Dealt Per Level --------
      • Set EC_Damage[1] = 100.00
      • Set EC_Damage[2] = 150.00
      • Set EC_Damage[3] = 200.00
      • -------- --------
      • -------- Radius to Check for Chain Lightning Targets --------
      • Set EC_CLAoE = 600.00
      • -------- How Often to Cast Chain Lightning in Seconds --------
      • Set EC_CLInterval = 1.00
      • -------- Number of Chain Lightnings Casted at Each Interval --------
      • Set EC_CLAmount[1] = 3
      • Set EC_CLAmount[2] = 4
      • Set EC_CLAmount[3] = 5
      • -------- --------
      • -------- Knockback Stuff --------
      • Set EC_KBDistance = 400.00
      • Set EC_KBAoE = 200.00
      • Set EC_KBTime = 0.80
      • Set EC_KBSFX = Abilities\Weapons\AncientProtectorMissile\AncientProtectorMissile.mdl
      • -------- --------
      • -------- Other Damage Configurables --------
      • Set EC_AttackType = Spells
      • Set EC_DamageType = Normal
      • -------- !! CONFIG END !! --------
      • -------- --------
      • Set EC_PeriodicTimer = 0.03
      • Trigger - Add to EC Loop <gen> the event (Time - Every EC_PeriodicTimer seconds of game time)
      • Set EC_TempLoc = (Center of (Playable map area))
      • Unit - Create 1 EC_Dummy for Neutral Passive at EC_TempLoc facing Default building facing degrees
      • Set EC_TempUnit = (Last created unit)
      • Unit - Add EC_AbilityCL to EC_TempUnit
      • Unit - Remove EC_TempUnit from the game
      • Custom script: call RemoveLocation(udg_EC_TempLoc)
      • Set EC_SizeSFX = (100.00 x EC_SFXSize)

  • EC Cast
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to EC_Ability
    • Actions
      • Set EC_SpellCount = (EC_SpellCount + 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • EC_SpellCount Equal to 1
        • Then - Actions
          • Trigger - Turn on EC Loop <gen>
        • Else - Actions
          • -------- loop is already on; do nothing --------
      • -------- --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • EC_RecycledSize Equal to 0
        • Then - Actions
          • Set EC_IndexMax = (EC_IndexMax + 1)
          • Set EC_Spell_ID = EC_IndexMax
        • Else - Actions
          • Set EC_RecycledSize = (EC_RecycledSize - 1)
          • Set EC_Spell_ID = EC_RecycledStack[EC_RecycledSize]
      • Set EC_NodeNext[EC_Spell_ID] = 0
      • Set EC_NodeNext[EC_NodePrev[0]] = EC_Spell_ID
      • Set EC_NodePrev[EC_Spell_ID] = EC_NodePrev[0]
      • Set EC_NodePrev[0] = EC_Spell_ID
      • -------- --------
      • Set EC_Caster[EC_Spell_ID] = (Triggering unit)
      • Set EC_Owner[EC_Spell_ID] = (Triggering player)
      • Set EC_AbilityLvl[EC_Spell_ID] = (Level of EC_Ability for EC_Caster[EC_Spell_ID])
      • Set EC_CasterLoc[EC_Spell_ID] = (Position of EC_Caster[EC_Spell_ID])
      • Set EC_CLCounter[EC_Spell_ID] = 0.00
      • Set EC_CounterDuration[EC_Spell_ID] = 0.00
      • -------- --------
      • Special Effect - Create a special effect at EC_CasterLoc[EC_Spell_ID] using EC_SFXStart
      • Special Effect - Destroy (Last created special effect)
      • Special Effect - Create a special effect attached to the EC_Attach_SFXCaster of EC_Caster[EC_Spell_ID] using EC_SFXCaster
      • Set EC_SFX_Loop[EC_Spell_ID] = (Last created special effect)
      • Unit - Create 1 EC_Dummy for EC_Owner[EC_Spell_ID] at EC_CasterLoc[EC_Spell_ID] facing Default building facing degrees
      • Set EC_Effect[EC_Spell_ID] = (Last created unit)
      • Animation - Change EC_Effect[EC_Spell_ID] flying height to EC_SFXHeight at 0.00
      • Animation - Change EC_Effect[EC_Spell_ID]'s size to (EC_SizeSFX%, EC_SizeSFX%, EC_SizeSFX%) of its original size
      • Special Effect - Create a special effect attached to the origin of EC_Effect[EC_Spell_ID] using EC_SFXOverhead
      • Set EC_SFX[EC_Spell_ID] = (Last created special effect)
      • -------- --------
      • -------- dealing damage to units next to caster --------
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Units within EC_KBAoE of EC_CasterLoc[EC_Spell_ID]) and do (Actions)
        • Loop - Actions
          • Set EC_TempUnit = (Picked unit)
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (EC_TempUnit is A structure) Equal to False
              • (EC_TempUnit is Magic Immune) Equal to False
              • (EC_TempUnit is alive) Equal to True
              • (EC_TempUnit belongs to an enemy of EC_Owner[EC_Spell_ID]) Equal to True
            • Then - Actions
              • Unit - Cause EC_Caster[EC_Spell_ID] to damage EC_TempUnit, dealing EC_Damage[EC_AbilityLvl[EC_Spell_ID]] damage of attack type EC_AttackType and damage type EC_DamageType
            • Else - Actions
              • -------- TempUnit did not pass filters; do not deal damage to them --------
  • EC Loop
    • Events
    • Conditions
    • Actions
      • Set EC_Spell_ID = 0
      • For each (Integer EC_LoopInt) from 1 to EC_SpellCount, do (Actions)
        • Loop - Actions
          • Set EC_Spell_ID = EC_NodeNext[EC_Spell_ID]
          • Set EC_CounterDuration[EC_Spell_ID] = (EC_CounterDuration[EC_Spell_ID] + EC_PeriodicTimer)
          • -------- checking if the caster has died, interrupted channeling, or if the spell instance is over --------
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Or - Any (Conditions) are true
                • Conditions
                  • (EC_Caster[EC_Spell_ID] is dead) Equal to True
                  • (Current order of EC_Caster[EC_Spell_ID]) Not equal to (Order(EC_Order_ID))
                  • EC_CounterDuration[EC_Spell_ID] Greater than or equal to EC_Duration[EC_AbilityLvl[EC_Spell_ID]]
            • Then - Actions
              • Custom script: call RemoveLocation(udg_EC_CasterLoc[udg_EC_Spell_ID])
              • Special Effect - Destroy EC_SFX[EC_Spell_ID]
              • Special Effect - Destroy EC_SFX_Loop[EC_Spell_ID]
              • Unit - Remove EC_Effect[EC_Spell_ID] from the game
              • -------- --------
              • Set EC_RecycledStack[EC_RecycledSize] = EC_Spell_ID
              • Set EC_RecycledSize = (EC_RecycledSize + 1)
              • Set EC_NodeNext[EC_NodePrev[EC_Spell_ID]] = EC_NodeNext[EC_Spell_ID]
              • Set EC_NodePrev[EC_NodeNext[EC_Spell_ID]] = EC_NodePrev[EC_Spell_ID]
              • -------- --------
              • Set EC_SpellCount = (EC_SpellCount - 1)
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • EC_SpellCount Equal to 0
                • Then - Actions
                  • Trigger - Turn off EC Loop <gen>
                • Else - Actions
                  • -------- there is still a spell instance running; do not turn loop off --------
            • Else - Actions
              • Set EC_CLCounter[EC_Spell_ID] = (EC_CLCounter[EC_Spell_ID] + EC_PeriodicTimer)
              • -------- applying knockback --------
              • Custom script: set bj_wantDestroyGroup = true
              • Unit Group - Pick every unit in (Units within EC_KBAoE of EC_CasterLoc[EC_Spell_ID]) and do (Actions)
                • Loop - Actions
                  • Set EC_TempUnit = (Picked unit)
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (EC_TempUnit is A structure) Equal to False
                      • (EC_TempUnit is Magic Immune) Equal to False
                      • (EC_TempUnit is alive) Equal to True
                      • (EC_TempUnit belongs to an enemy of EC_Owner[EC_Spell_ID]) Equal to True
                    • Then - Actions
                      • Set EC_TempLoc = (Position of EC_TempUnit)
                      • Set Knockback2DAngle = (Angle from EC_CasterLoc[EC_Spell_ID] to EC_TempLoc)
                      • Set Knockback2DTime = EC_KBTime
                      • Set Knockback2DDistance = EC_KBDistance
                      • Set Knockback2DUnit = EC_TempUnit
                      • Set Knockback2DLoopFX = EC_KBSFX
                      • Trigger - Run Knockback 2D <gen> (checking conditions)
                      • Custom script: call RemoveLocation(udg_EC_TempLoc)
                    • Else - Actions
                      • -------- TempUnit did not pass filters; do not apply knockback --------
              • -------- checking if the interval to cast chain lightning has been met --------
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • EC_CLCounter[EC_Spell_ID] Greater than or equal to EC_CLInterval
                • Then - Actions
                  • Set EC_CLCounter[EC_Spell_ID] = 0.00
                  • Set EC_CLGroup = (Units within EC_CLAoE of EC_CasterLoc[EC_Spell_ID])
                  • -------- filtering out units to target for chain lightning --------
                  • Unit Group - Pick every unit in EC_CLGroup and do (Actions)
                    • Loop - Actions
                      • Set EC_TempUnit = (Picked unit)
                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        • If - Conditions
                          • Or - Any (Conditions) are true
                            • Conditions
                              • (EC_TempUnit is A structure) Equal to True
                              • (EC_TempUnit is Magic Immune) Equal to True
                              • (EC_TempUnit is dead) Equal to True
                              • (EC_TempUnit belongs to an ally of EC_Owner[EC_Spell_ID]) Equal to True
                        • Then - Actions
                          • Unit Group - Remove EC_TempUnit from EC_CLGroup
                        • Else - Actions
                          • -------- TempUnit did not pass filters; do not remove them from group --------
                  • -------- select CLAmount random targets from area and cast chain lightning on them --------
                  • Set EC_Targets = (Random EC_CLAmount[EC_AbilityLvl[EC_Spell_ID]] units from EC_CLGroup)
                  • Unit Group - Pick every unit in EC_Targets and do (Actions)
                    • Loop - Actions
                      • Set EC_TempUnit = (Picked unit)
                      • Unit - Create 1 EC_Dummy for EC_Owner[EC_Spell_ID] at EC_CasterLoc[EC_Spell_ID] facing Default building facing degrees
                      • Set EC_DummyUnit = (Last created unit)
                      • Unit - Add a 1.00 second Generic expiration timer to EC_DummyUnit
                      • Animation - Change EC_DummyUnit flying height to EC_SFXHeight at 0.00
                      • Unit - Add EC_AbilityCL to EC_DummyUnit
                      • Unit - Set level of EC_AbilityCL for EC_DummyUnit to EC_AbilityLvl[EC_Spell_ID]
                      • Unit - Order EC_DummyUnit to Orc Far Seer - Chain Lightning EC_TempUnit
                  • Custom script: call DestroyGroup(udg_EC_Targets)
                  • Custom script: call DestroyGroup(udg_EC_CLGroup)
                • Else - Actions
                  • -------- it is not time to cast chain lightning; do nothing --------
  1. Under Preferences, make sure you have "Automatically create
    unknown variables while pasting trigger data" checked

  2. Import dummy.mdx, then copy and paste the dummy unit and
    two custom abilities into your map
    NOTE: If you already have dummy.mdx imported into your
    map, you DO NOT have to reimport it
    If you already have a global dummy unit in your
    map, you can skip this step

  3. Copy and paste the Resources folder into your map
    NOTE: If you already have a resource in the Resources folder
    imported into your map, you DO NOT have to reimport it

  4. Copy and paste the Electric Conduit folder into your map

  5. Go to the EC Config trigger, and change the Ability, AbilityCL, &
    Dummy variables to the corresponding objects you just imported
User
Bribe - GUI Knockback 2D & GUI Unit Indexer
Vexorian - dummy.mdx
[TD]

v2.01 (March 07, 2016)

  • Added an optional Electric Conduit folder that is integrated with GUI Spell System
  • Added Bribe's new knockback system update
  • Removed unnecesary NodeLast[] variable for linked list; last spell instance now stores into NodePrev[0]
  • Removed If/Then/Else that would set NodeLast = NodePrev[Spell_ID] if NodeLast == Spell_ID
v2.00 (January 20, 2016)

  • Added Bribe's new knockback system update
  • Changed data structure to linked listing
v1.05 (December 02, 2015)
  • Added Bribe's new knockback system update
  • Changed loop to check if it is time to deindex before starting
  • Changed name of EC Init to EC Cast
  • Fixed Owner[] variable to now use Triggering Player instead of Owner of (Unit)
  • Removed unnecessary function call when turning of EC Loop (Turn off (This Trigger) -> (Turn off EC Loop))
v1.04 (November 14, 2015)
  • Added Bribe's new knockback system update
  • Fixed a small bug where the caster would still continue to channel the spell even though they are stunned/silenced
  • Removed the "unable to move or act" mechanic; caster can now move to interrupt the spell
v1.03 (October 30, 2015)
  • Changed names of some variables
  • Removed unneccesary variables
v1.02 (September 20, 2015)
  • Added a configurable for changing the overhead SFX
  • Added preload functions; users no longer have to worry about making sure dummy unit has correct spell
  • Removed Electric Conduit Dummy 2; spell now only uses one dummy for everything
  • Removed KillUnit function and replaced it with RemoveUnit
  • Removed EC Dummy Cleaner trigger
v1.01 (September 17, 2015)
  • Added a check for the possibility of the caster being interrupted during channel
    (death, silenced, or stunned)
  • Removed use of expiration timer for SFX dummy, uses Kill unit instead
v1.00 (September 14, 2015)
  • Uploaded

Keywords:
electric, conduit, shaman, chain, lightning, thunder, channel, knockback, explode, explosion, blue, channel, linked, listing, gui, mui, killcide
Contents

Electric Conduit v2.01 (Map)

Reviews
11:14, 20th Sep 2015 Bribe: A rush of eye-candy. A powerful spell that would make for a great ultimate or boss ability.

Moderator

M

Moderator

11:14, 20th Sep 2015
Bribe: A rush of eye-candy. A powerful spell that would make for a great ultimate or boss ability.
 

Deleted member 238226

D

Deleted member 238226

woah, this is really cool.

+REP for you good sir.
 
Level 17
Joined
Dec 11, 2014
Messages
2,008
So this was the thing you needed help for :)

To stay on-topic:
The Chain lightning ability itself seems overpowered, and it is done many times... Thats why it can kill a whole party of footmen !

Really, you should create a custom chain lightning (in OE dont worry) and configure it for balance so that the user wont fuck up when the chain lightning is OP and he cant change it since he has a far seer and cant find where the ability is. (Aka a noob)
 
Level 37
Joined
Jul 22, 2015
Messages
3,489
So this was the thing you needed help for :)

Yessir!

The Chain lightning ability itself seems overpowered, and it is done many times... Thats why it can kill a whole party of footmen !

Thats what the config trigger is for! You can easily change the interval of chain lightning and how many will appear per interval. Its currently set at 3 chain lightnings every second, but you have to keep in mind this was just to make it look aesthetically pleasing xP

Really, you should create a custom chain lightning (in OE dont worry) and configure it for balance so that the user wont fuck up when the chain lightning is OP and he cant change it since he has a far seer and cant find where the ability is. (Aka a noob)

Im sorry Im a little lost with this suggestion o.o mind elaborating?
 
Level 25
Joined
May 11, 2007
Messages
4,656
I'll be using this!
However, I'd like it if you moved the init of all units and spells to one trigger, as when I copied it over to my own map, the ability and unit variables changed into other units and I had to go through the code to set the dummy units and spells correctly again.
 
But I agree to reduce the damage a bit so people that can't configure the values can have this spell "not too OP" in their map, even as Ultimate/Last ability.

I don't. Explaining how to configure the spell is enough. We can't speculate on how strong the average user need the spell to be, might be that the hypothetical "noob" in question actually needs an "op" spell.
 
Level 37
Joined
Jul 22, 2015
Messages
3,489
There has been some misunderstandings by me :p


Lets say (XD) I mean:

Reduce the damage and stuff.

That should be configurable in the triggers, or in the object editor.

But I agree to reduce the damage a bit so people that can't configure the values can have this spell "not too OP" in their map, even as Ultimate/Last ability.

It is already? I didn't make the chain lightning spell from scratch... its a normal chain lightning that a dummy casts.

  • -------- NOTE: If you want to edit the damage of Chain Lightning, refer to the Object Editor spell --------
That includes everything about chain lightning, not just the damage (damage reduction per jump, how many it jumps to).


I'll be using this!
However, I'd like it if you moved the init of all units and spells to one trigger, as when I copied it over to my own map, the ability and unit variables changed into other units and I had to go through the code to set the dummy units and spells correctly again.

  • -------- --------
  • -------- Ability --------
  • Set EC_Ability = Electric Conduit
  • -------- --------
  • -------- Chain Lightning Ability --------
  • Set EC_AbilityCL = Electric Conduit (Chain Lightning)
  • -------- --------
  • -------- Dummy Unit SFX --------
  • -------- this is what will hover over the caster's head during the channel --------
  • -------- if you want to change the effect, change the model file for this dummy --------
  • Set EC_SFXOverhead = Electric Conduit Dummy 1
  • -------- --------
  • -------- Dummy Unit Caster --------
  • -------- this is the dummy that will cast the chain lightning --------
  • Set EC_DummyUnitCaster = Electric Conduit Dummy 2
Lol oh my! I had already made the init variables for it, but I must have forgotten to apply them in the code xP thank you! I will update this after a moderator reviews it. Excited to see what you will use it for :) unless you're talking about the units/abilties for Knockback 2D?

I don't. Explaining how to configure the spell is enough. We can't speculate on how strong the average user need the spell to be, might be that the hypothetical "noob" in question actually needs an "op" spell.

Yah I made the config section with a lot of comments... it's pretty straight forward, right?
 
Level 37
Joined
Jul 22, 2015
Messages
3,489
my words, that's some epic tossing around that it does to enemies x3

Lol its fun to play around with the KB variables ;D

I recommend putting your triggers and installation instructions into the description of the spell here on THW.

I posted the triggers already o.o which are you referring to? However, I will update my post with the installation instructions though. I'll do the same for my other spell. Just waiting for a moderator to take a look at it so I can update them all at once.
 
Level 9
Joined
Feb 15, 2013
Messages
372
I have a suggestions of your spell's description, you are not necessary to use my description haha...

Electric Conduit - Casters summons an orb of lightning right above himself. Causing damages that bounce off enemies. Enemies that are trying to get close of the caster will be knocked back.

Oh yeah and hello guys I'm back!! After couple of months I didn't online, I had forgotten mostly everything in triggers Lolx! Hope there is somebody still remember me hah!
 
Level 37
Joined
Jul 22, 2015
Messages
3,489
Well I think you don't need the dummy cleaner trigger because you can just add the dummy "Can't raise, doesn't decay" via object editor and it will be removed when it dies.

I have decided to just keep the Dummy Unit Cleaner trigger just in case a user wants to use a different dummy unit from mine and doesn't have such options set.

Nice and useful. 5/5 :D

Thank you! I hope you find the config options easy to read.

I have a suggestions of your spell's description, you are not necessary to use my description haha...

Electric Conduit - Casters summons an orb of lightning right above himself. Causing damages that bounce off enemies. Enemies that are trying to get close of the caster will be knocked back.

Oh yeah and hello guys I'm back!! After couple of months I didn't online, I had forgotten mostly everything in triggers Lolx! Hope there is somebody still remember me hah!

Description of the spell isn't that big of a deal to me xP I'm personally not using this spell in my map, I just felt like integrating a knockback with a spell for practice :)

Unfortunately, it looks like the time you decided to go inactive I joined the community, so I don't know you xD
 
Level 37
Joined
Jul 22, 2015
Messages
3,489
I got problems seeing the triggers as my eyes bleed by looking at indexing.

On another note, I thought you triggered the chain lightning manually you damn cheater.

#DynamicIndexing4Lyfe

Im practicing lighting effects right now :) Im debating if I should manually trigger chain lightning, or make a new spell. The former would have to call for hashtables ;_;
 
Level 9
Joined
Feb 15, 2013
Messages
372
Description of the spell isn't that big of a deal to me xP I'm personally not using this spell in my map, I just felt like integrating a knockback with a spell for practice :)

Unfortunately, it looks like the time you decided to go inactive I joined the community, so I don't know you xD
Hah, description can helps mostly people to gets how the spell works exactly... haha but its okayy xd
 
Level 37
Joined
Jul 22, 2015
Messages
3,489

Bribe

Code Moderator
Level 44
Joined
Sep 26, 2009
Messages
8,963
Level 37
Joined
Jul 22, 2015
Messages
3,489
very nice spell man! (+3)

although:
  • Custom script: set bj_wantDestroyGroup = true
I think bj leaks...the other way of clearing unit groups is better

What everyone said x) if the group is being destroyed directly after being created, I find no need creating an extra variable for it. Saves me a trigger function xD I'll only use the other method if I still need the references the group holds for the duration of the spell.

  • With BJ
    • Custom script: set bj_wantDestroyGroup = true
    • Unit Group - Pick every unit in (Units within X of location and do (Actions)
      • Loop - Actions
        • -------- group actions --------
  • Without BJ
    • Set tempGroup = (Units within X of location)
    • Unit Group - Pick every unit in tempGroup and do (Actions)
      • Loop - Actions
        • -------- group actions --------
    • Custom script: call DestroyGroup(udg_tempGroup)

Blimey! Awesome spell there mate!

If I may just ask, how does EC_Loop's actions activate if there are no events that trigger it?

The EC Config trigger adds the event :) Since the spell uses whatever the periodic loop is set to in 3 different functions, I figured I shouldn't hardcode it.

  • -------- --------
  • -------- Loop Timer --------
  • Set EC_PeriodicTimer = 0.02
  • Trigger - Add to EC Loop <gen> the event (Time - Every EC_PeriodicTimer seconds of game time)
 
Last edited:
Top