A unit takes damage / Is hit by a spell.

95blojoe

New Member
Reaction score
7
Is there anything like this in GUI? I've been trying to think this one out myself. Basically i want to make certain spells knock you back and in my mind it would look something like this:

Trigger:
  • Events
    • A unit is hit by a spell.
    • Conditions
      • spell = charge.
    • Actions
      • Move unit X offset from opposite facing angle.
 

KaerfNomekop

Swim, fishies. Swim through the veil of steel.
Reaction score
613
Trigger:
  • Knockback
    • Events
      • A unit starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Charge
    • Actions
      • Set OldPoint = (Position of (Target unit of ability being cast))
      • Set NewPoint = OldPoint offset by X towards ((Facing angle of (Target unit of ability being cast)) + 180.00) degrees
      • Unit - Move (Target unit of ability being cast) instantly to NewPoint
      • Custom Script: call RemoveLocation(udg_OldPoint)
      • Custom Script: call RemoveLocation(udg_NewPoint)

I don't know if this is what you mean, but I doubt so. Define your knockback: is it instant, or sliding? And what do you mean by "hit by a spell"?
 

Grags_1977

Ultra Cool Member
Reaction score
32
This is the knockback system i'm using. It takes some configuring and getting used to. But it does the job.
 

95blojoe

New Member
Reaction score
7
Basically i am making a 'Beyblade' mod partly. I want you to be able to push each other around with a dash ability which makes you slide into some1. If a person is hit by dash i want him to be blown backward a little bit. Looked at the knockback system, seemed very working to setup and understand the full content off. Saw some1 write about "Custom Script: call Knockback(udg_Unit, distance, speed, trees) ", don't know if it's something i can use. Im pretty new to this :D

^Sorry for all the messed up grammar, i am very tired xD
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      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