Back Sliding Spell [Help please =D]

Mike889

New Member
Reaction score
15
Hello everyone!!!! Long time i don't post here, xD
Well, i am making a spell named Back Sliding. It makes ur unit move back and so quickly fleeing the battle field. My spells is fully working however... when you use it you can pass trough tress, walls, and worse... doors.
So i want to know if there's some way to make it impossible to transpass objects while you are backsliding. But the backslider shoul still look forwards, like if its moonwalk! xD

Here's my currently trigger:
Code:
BackSliding
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Back Sliding 
    Actions
        Set BackSli_Point = ((Position of (Triggering unit)) offset by -450.00 towards (Facing of (Triggering unit)) degrees)
        Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\NightElf\Blink\BlinkTarget.mdl
        Special Effect - Destroy (Last created special effect)
        Wait 0.07 seconds
        Unit - Move (Triggering unit) instantly to BackSli_Point
        Selection - Select (Triggering unit) for (Owner of (Triggering unit))
        Camera - Pan camera for (Owner of (Triggering unit)) to (Position of (Triggering unit)) over 0.50 seconds
        Custom script:   call RemoveLocation (udg_BackSli_Point)

I think it's also leakless, right?

More one thing: My skill is also ignoring the cooldown. On level 1 there's 35 secs cooldown and at level 4 3 secs cooldown. How to implement this?
 

Larcenist

REP: Respect, Envy, Prosperity?
Reaction score
211
tried adding a minor wait before the "move unit instantly" part? For the cooldown issue that is.
 

Larcenist

REP: Respect, Envy, Prosperity?
Reaction score
211
I ain't got no sollution for the teleporting part, though I'll follow this thread since I'll probably have the exact same problem making the Back sliding spell for the Thief in my Ragnarok Online RPG.
 

Mike889

New Member
Reaction score
15
I ain't got no sollution for the teleporting part, though I'll follow this thread since I'll probably have the exact same problem making the Back sliding spell for the Thief in my Ragnarok Online RPG.
xD Aha, i've got this spell from Ragnarok, xD Ah, good times playing it.
Well...
Hey, do you know how to make an skill disappear from the skill icons windows? I've made an skill that when learnt add another skill to your hero.
I.e: If you learn the skill at lvl 1 you learn Shadow Meld instead.
Learning the skill at lvl 2 adds Evasion.
But the uneeded skill remains on the screen, and so my ultimate dosn't appear =/
 

Larcenist

REP: Respect, Envy, Prosperity?
Reaction score
211
Make a learn spell based of "Channel", and check the Channel options so that it's not visible (I think it's not visible by default). Then you make a trigger something like

Events
A unit learns a skill

Conditions
Learn hero skill Equal to <Your learn skill>

Actions
If all conditions are true then do (then actions) else do (else actions)
If - Conditions
Level of <your learn skill> Equal to 1

Then - actions
Add Shadow Meld to triggering unit

Else - actions
If all conditions are true then do (then actions) else do (else actions)
If - Conditions
Level of <your learn skill> Equal to 2

Then -actions
Remove Shadow Meld from triggering unit
Add Evasion to triggering unit

Else - Actions
Do nothing
 

Mike889

New Member
Reaction score
15
Make a learn spell based of "Channel", and check the Channel options so that it's not visible (I think it's not visible by default). Then you make a trigger something like

Events
A unit learns a skill

Conditions
Learn hero skill Equal to <Your learn skill>

Actions
If all conditions are true then do (then actions) else do (else actions)
If - Conditions
Level of <your learn skill> Equal to 1

Then - actions
Add Shadow Meld to triggering unit

Else - actions
If all conditions are true then do (then actions) else do (else actions)
If - Conditions
Level of <your learn skill> Equal to 2

Then -actions
Remove Shadow Meld from triggering unit
Add Evasion to triggering unit

Else - Actions
Do nothing
Hmm.. Well, it still dosn't works =/ But i think i have a solution for this. I need only to remove the Patrol command. Is it possible?




--------

Here are my triggers. Hiding Mastery has 4 levels, each level add a new skill. Only Fire Feet dosn't appear, as it is supposed to. And from the skills that should appear (hide(shadow meld) and cloacking), only shadow meld appears. I can remove evasion later because hiding mastery is based on Critical Strike, and it can have evasion, xD

Code:
HidingMastery1
    Events
        Unit - A unit Learns a skill
    Conditions
        HidingMasteryLevel Equal to 0
        (Learned Hero Skill) Equal to Hiding Mastery 
    Actions
        Unit - Add Hiding  to (Triggering unit)
        Wait 2.00 seconds
        Set HidingMasteryLevel = (HidingMasteryLevel + 1)

Code:
HidingMastery2
    Events
        Unit - A unit Learns a skill
    Conditions
        (Learned Hero Skill) Equal to Hiding Mastery 
        HidingMasteryLevel Equal to 1
    Actions
        Unit - Add Evasion (Hiding Mastery) to (Triggering unit)
        Wait 2.00 seconds
        Set HidingMasteryLevel = (HidingMasteryLevel + 1)
Code:
HidingMastery3
    Events
        Unit - A unit Learns a skill
    Conditions
        (Learned Hero Skill) Equal to Hiding Mastery 
        HidingMasteryLevel Equal to 2
    Actions
        Unit - Add Haste (hiding mastery) to (Triggering unit)
        Wait 2.00 seconds
        Set HidingMasteryLevel = (HidingMasteryLevel + 1)
Code:
HidingMastery4
    Events
        Unit - A unit Learns a skill
    Conditions
        (Learned Hero Skill) Equal to Hiding Mastery 
        HidingMasteryLevel Equal to 3
    Actions
        Unit - Add Cloacking  to (Triggering unit)
        Wait 2.00 seconds
        Unit - Remove Evasion (Hiding Mastery) from (Triggering unit)
        Set HidingMasteryLevel = (HidingMasteryLevel + 1)


---
It seems that the Hero is not learning cloacking =/
 

vypur85

Hibernate
Reaction score
803
Code:
HidingMastery4
    Events
        Unit - A unit Learns a skill
    Conditions
        (Learned Hero Skill) Equal to Hiding Mastery 
        HidingMasteryLevel Equal to 3
    Actions
        [B]Set TempUnit = (Triggering Unit)[/B]
        Unit - Add Cloacking  to (Triggering unit)
        Wait 2.00 seconds
        Unit - Remove Evasion (Hiding Mastery) from [B]TempUnit[/B]
        Set HidingMasteryLevel = (HidingMasteryLevel + 1)

I think you should set the triggering unit into a variable. Not sure whether it helps or not.

Make a learn spell based of "Channel", and check the Channel options so that it's not visible (I think it's not visible by default). Then you make a trigger something like
Use Larcenist method to do the 'not showing skill thing'. It should work. Just base your Hiding Mastery spell off Channel and set the ability field as what Larcenist had told. Or if you don't want to use Channel, you can also use item abilities which don't have icon (attack speed increase, HP bonus, armor bonus, stats bonus etc etc). Then set Hero Ability = True while Item Ability = False. It will work similarly to Channel as well.

Edit: For the back sliding, maybe you should use a periodic sliding trigger instead.
 

gref

New Member
Reaction score
33
The reason you pass through doors is that the distance covered per periodic event is too large.

Make it occur more frequently (reduce the period) but make the distance less.

Yeah...and your trigger leaks. Position of Triggering Unit needs to be stored and removed as well.

Set the facing of the unit too if you want them to move backwards.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • 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 Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top