Spells

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
OMG he is learning he needs to do it on his own do you mind delete the trigger
 

Ayanami

칼리
Reaction score
288
Lol sure. If he wants it deleted I will do so. Just posting so maybe he could understand a bit. Maybe I should simplify it to a smaller code? o.o
 

Dest

New Member
Reaction score
26
Uh, I'm learning. Can you take the triggers off your post, please?
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
But that is anvanced Knock back you should stick to the basics for now
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
Ok thx and yes. 1 unit is for the target and the other for triggering unit. Set them in the start efect trigger
 

Dest

New Member
Reaction score
26
Ok thx and yes. 1 unit is for the target and the other for triggering unit. Set them in the start efect trigger

I added a variable above the If/Then/Else multiples. Do I even need it? And now what's next?
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
You dont need the if then else. Show me your curren triggers so i can work of it
 

Dest

New Member
Reaction score
26
You dont need the if then else. Show me your curren triggers so i can work of it

The first trigger with 2 secs is same. Second trigger just has no if/then/else and a variable added. You still want it, so here you go:

Trigger:
  • Trigger 2
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Storm Bolt
    • Actions
      • Set Unit1 = (Targeted unit)


I didn't post the first trigger cause it's just same.
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
Set the second variable to
Unit2 = Targeted unit of abiltiy being cast
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
No put in Run trigger ignoring actions and it must be the periodic event
K now the Next trigger
Put point1 to Position of Unit2
and point2 Position of unit2 with offset 5 toward facing angle of unit1
 

Dest

New Member
Reaction score
26
Trigger:
  • Trigger 1
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Set TEMP = (Position of Unit2)
      • Set TEMP2 = ((Position of Unit2) offset by 5.00 towards (Facing of Unit1) degrees)

Trigger:
  • Trigger 2
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Storm Bolt
    • Actions
      • Set Unit1 = (Targeted unit)
      • Set Unit2 = (Target unit of ability being cast)
      • Trigger - Run Trigger 1 <gen> (ignoring conditions)


Finished? Or we have to remove leaks?

EDIT: I just noticed a mistake, should fixed it by now.
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
Ok temp2 sould use temp1 and not position of unit2
 
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