How to create a unit infront of the caster by triggers

Weegee

Go Weegee!
Reaction score
102
Create a unit at position of triggering unit (casting unit) offset by X towards facing of triggering unit


Look for something that looks sorta like that.

P.S. This leaks
 

Lord Regno

Active Member
Reaction score
19
Trigger:
  • Our ability
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to "Ability"
    • Actions
      • Set Temp_Point = (Position of (casting unit)/ (Target unit of ability being cast)
    • )
      • Unit - Create 1 Footman for (Owner of (casting unit)/ (Target unit of ability being cast)
    • ) at Temp_Point facing Default building facing degrees
      • Custom script: call RemoveLocation (udg_Temp_Point)
 

Vylatin

New Member
Reaction score
32
I found it

Trigger:
  • Unit - Create 1 Dummy 2 for (Owner of Orb_Caster) at (Orb_Casterpos offset by 100.00 towards 0.00 degrees) facing (Facing of Orb_Caster) degrees


But I have no idea how to make the dummy spawn infront of it?

Edit - Don't get your trigger Lord Regno.....?
 

Lord Regno

Active Member
Reaction score
19
Trigger:
  • Set Temp_Point = ((Position of (Casting unit)) offset by 150.00 towards 90.00 degrees)


offset: distends
degrees: around him

Edit: :p did not see your edit :p and your trigger leaks I think
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top