Spell Lightning Rush

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
I try and fix the problem for u...just gimme a sec...
I will edit this post
Edit:
Yeah i got ur problem solve...but i duno if u want this type of solving method....It is hard to fix this bcoz u are using walk and not slide trigger :p
Code:
Lightning Rush
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Lightning Rush 
    Actions
        Set LR_Caster = (Casting unit)
        Set LR_Target_Point = (Target point of ability being cast)
        [b]If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Terrain pathing at LR_Target_Point of type Walkability is off) Equal to True
            Then - Actions
                Game - Display to (All players) the text: No sliding to unwal...
                Custom script:   call RemoveLocation(udg_LR_Target_Point)
                Custom script:   call RemoveLocation(udg_LR_Caster_Position)
                Skip remaining actions
            Else - Actions[/b]
        Set LR_Caster_Position = (Position of LR_Caster)
        Selection - Remove (Casting unit) from selection for (Owner of (Casting unit))
        Unit - Hide (Casting unit)
        Unit - Create 1 Lightnng Rush dummy for (Owner of (Casting unit)) at LR_Caster_Position facing LR_Caster_Position
        Set LR_dummy = (Last created unit)
        Unit - Order LR_dummy to Move To LR_Target_Point
        Trigger - Turn on Lightning Rush Effects <gen>
        Wait ((Distance between LR_Target_Point and LR_Caster_Position) / (Current movement speed of LR_dummy)) seconds
        Custom script:   call RemoveLocation(udg_LR_Caster_Position)
        Trigger - Turn off Lightning Rush Effects <gen>
        Unit - Remove LR_dummy from the game
        Unit - Move LR_Caster instantly to LR_Target_Point
        Unit - Unhide LR_Caster
        Custom script:   call RemoveLocation(udg_LR_Target_Point)
        Animation - Play LR_Caster's stand ready animation
        Selection - Add LR_Caster to selection for (Owner of LR_Caster)
        Selection - Select LR_Caster for (Owner of LR_Caster)
 

Sim

Forum Administrator
Staff member
Reaction score
534
Add the condition in your "Lightning Rush Effects" trigger instead. The one with the low periodic event, which moves your caster.

EDIT: Oh wait you order it to move. Let me investigate :p

---------

Alright, what I suggest is that you don't use a dummy runner. Pause the caster, make it "run", and order him to move. If he cannot reach the point, he simply won't :)
 

Blackrage

Ultra Cool Member
Reaction score
25
Problem in that: If they try rushing up to another height and the ramp is somewhere else, they will try to go to the ramp, totally making the spell awkward and making the target point useless.
 

WarLuvr3393

Hmmm...too many things to play (WoW, COD4, WC3)
Reaction score
54
Great spell, but what you should really do is make the dummy run a LOT faster because inside lightning supposed to speed things up? It's kinda contradictory because your spell is "Lightning Rush" and it's running kinda slow.

Just my 2 cents. Great spell nonetheless.

+Rep

~WarLuvr
 

Sim

Forum Administrator
Staff member
Reaction score
534
Why not use slide instead ?

Great spell, but what you should really do is make the dummy run a LOT faster because inside lightning supposed to speed things up? It's kinda contradictory because your spell is "Lightning Rush" and it's running kinda slow.

As those 2 suggested, try sliding the caster instead. With a low periodic event, move the caster a short distance, with a "Run" animation.

Don't forget to check if the point is pathable!

Here's an example of sliding: http://www.thehelper.net/forums/showthread.php?t=22135
 

Blackrage

Ultra Cool Member
Reaction score
25
Then that will make the spell exacly like chill flash....

Ok, ill try making the slide....
 

Blackrage

Ultra Cool Member
Reaction score
25
I try and fix the problem for u...just gimme a sec...
I will edit this post
Edit:
Yeah i got ur problem solve...but i duno if u want this type of solving method....It is hard to fix this bcoz u are using walk and not slide trigger :p
Code:
Lightning Rush
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Lightning Rush 
    Actions
        Set LR_Caster = (Casting unit)
        Set LR_Target_Point = (Target point of ability being cast)
        [b]If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Terrain pathing at LR_Target_Point of type Walkability is off) Equal to True
            Then - Actions
                Game - Display to (All players) the text: No sliding to unwal...
                Custom script:   call RemoveLocation(udg_LR_Target_Point)
                Custom script:   call RemoveLocation(udg_LR_Caster_Position)
                Skip remaining actions
            Else - Actions[/b]
        Set LR_Caster_Position = (Position of LR_Caster)
        Selection - Remove (Casting unit) from selection for (Owner of (Casting unit))
        Unit - Hide (Casting unit)
        Unit - Create 1 Lightnng Rush dummy for (Owner of (Casting unit)) at LR_Caster_Position facing LR_Caster_Position
        Set LR_dummy = (Last created unit)
        Unit - Order LR_dummy to Move To LR_Target_Point
        Trigger - Turn on Lightning Rush Effects <gen>
        Wait ((Distance between LR_Target_Point and LR_Caster_Position) / (Current movement speed of LR_dummy)) seconds
        Custom script:   call RemoveLocation(udg_LR_Caster_Position)
        Trigger - Turn off Lightning Rush Effects <gen>
        Unit - Remove LR_dummy from the game
        Unit - Move LR_Caster instantly to LR_Target_Point
        Unit - Unhide LR_Caster
        Custom script:   call RemoveLocation(udg_LR_Target_Point)
        Animation - Play LR_Caster's stand ready animation
        Selection - Add LR_Caster to selection for (Owner of LR_Caster)
        Selection - Select LR_Caster for (Owner of LR_Caster)


Nice Try, but then ill still lose mana (easily fixable) and the ability cooldown also (Can't Fix :( )

Anyway, im uploading new version but it still can get stuck on the cliff :banghead: .
 

Hero

─║╣ero─
Reaction score
250
for fixing leaks you should use leak checker ;)

Pretty sure I and anyone else that has learned about leaks could find and fix leaks better than a leak checker

Anyways I'll look more into this after vacation
 

Sim

Forum Administrator
Staff member
Reaction score
534
Nice Try, but then ill still lose mana (easily fixable) and the ability cooldown also (Can't Fix :( )

Anyway, im uploading new version but it still can get stuck on the cliff :banghead: .

Well if you really want your spell to be a move order, as it is right now, simply check if the (Target point) is pathable and if not cancel the spell...

Or, you could check every x seconds if in front of the caster the terrain is pathable.

Example (CasterPos being the position of your caster, and Caster being the very caster :)):

Code:
Pathability
    Events
        Time - Every 0.04 seconds of game-time
    Conditions
    Actions    
        Set point = (CasterPos offset by 60.00 towards (Facing of Caster) degrees)
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    (Terrain pathing at point of type Walkability is off) Equal to True
                Then - Actions
                    Custom script:   call RemoveLocation(udg_CasterPos)
                    Trigger - Turn off (This trigger)
                    Unit - Order Caster to Stop
                    -------- Add any other actions here to make sure the spell won't continue and every leak is cleaned ---------
                Else - Actions
            Custom script:   call RemoveLocation(udg_point)

Should look like this.
 

Blackrage

Ultra Cool Member
Reaction score
25
Well if you really want your spell to be a move order, as it is right now, simply check if the (Target point) is pathable and if not cancel the spell...

Or, you could check every x seconds if in front of the caster the terrain is pathable.

Example (CasterPos being the position of your caster, and Caster being the very caster :)):

Code:
Pathability
    Events
        Time - Every 0.04 seconds of game-time
    Conditions
    Actions    
        Set point = (CasterPos offset by 60.00 towards (Facing of Caster) degrees)
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    (Terrain pathing at point of type Walkability is off) Equal to True
                Then - Actions
                    Custom script:   call RemoveLocation(udg_CasterPos)
                    Trigger - Turn off (This trigger)
                    Unit - Order Caster to Stop
                    -------- Add any other actions here to make sure the spell won't continue and every leak is cleaned ---------
                Else - Actions
            Custom script:   call RemoveLocation(udg_point)

Should look like this.

I just made the sliding version and already uploaded

Still is copying Chill Flash, is EXACLY like it now :eek: :nuts: :(
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
>>Still is copying Chill Flash, is EXACLY like it now
i dont think so...i like ur spell bcoz of the effects...
Chill Flash dont hav the lightning and thunderclap effect which greatly enchance the spell...(eye candy)
 

Blackrage

Ultra Cool Member
Reaction score
25
>>Still is copying Chill Flash, is EXACLY like it now
i dont think so...i like ur spell bcoz of the effects...
Chill Flash dont hav the lightning and thunderclap effect which greatly enchance the spell...(eye candy)

well, it still does have the sliding part which is the same as the one chill flash used.
 

WarLuvr3393

Hmmm...too many things to play (WoW, COD4, WC3)
Reaction score
54
I dunno, it's still not fast enough for me. Please try to make it go a bit faster to give it the "jolt" effect.
 

Blackrage

Ultra Cool Member
Reaction score
25
Sorry for the delay, i was playing games a lot :rolleyes:

Made the slide faster, a little more faster then that will make it lag like crazy.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/
  • The Helper The Helper:
    I think we need to add something to the bottom of the front page that shows the Headline News forum that has a link to go to the News Forum Index so people can see there is more news. Do you guys see what I am saying, lets say you read all the articles on the front page and you get to the end and it just ends, no kind of link for MOAR!

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top