Damage infront of unit

Tythoid

New Member
Reaction score
23
Im trying to make a trigger to cause damage infront of a unit but im not very good with coordinates, angles ect heres the action
Code:
Unit - Cause Bonsi_fighter1 to damage circular area after 0.20 seconds of radius 100.00 at ([B]Blank[/B])), dealing 5.00 damage of attack type Spells and damage type Normal
I need to know what Blank would have to be for him to do damage from his facing angle in a small radius infront.
 

ThePlague

New Member
Reaction score
14
If your target is UNIT then blank would be

position of unit offset by (100) at angle between Unit and Bonsi_fighter1

You would use Polar offset and 100 could be replaced with w/e number u want

fyi the order of unit and Bonsi_fighter1 matters should be the angle between
Unit and Bonsi_fighter1
NOT
Unit and Bonsi_fighter1 and UNIT
 

Tythoid

New Member
Reaction score
23
Thanks ill have a go with that +rep

Code:
Unit - Cause Bonsi_fighter1 to damage circular area after 0.20 seconds of radius 50.00 at ((Position of Bonsi_fighter1) offset by 100.00 towards (Facing of Bonsi_fighter1) degrees), dealing 5.00 damage of attack type Spells and damage type Normal
worked
 
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