Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
Only from back is fine I guess because you cant attack someone if you arent faced to him
Events
Unit Starts Effect of Ability
Conditions
If Ability beign cast is equal to PWN0R45 ASS4S1N4T3
If Facing of Triggering Unit is greater than Facing of Target Unit of Ability Beign cast - 120
If Facing of Triggering Unit is lesser than Facing of Target Unit of Ability Beign cast + 120
Actions
Unit - Damage TargetUnit of Ability Beign Cast by Triggering Unit of 9999999999999999999999999999999999 Attack type of Chaos - Damage type of Spirit Link (or unknown)
Aah you said or... I tought you said AND if they arent attacking to you sorry sorry sorry...
I cant detect if they are attacking to you
I will make it if they arent attacking to someone
Events
Unit Starts Effect of Ability
Conditions
If Ability beign cast is equal to PWN0R45 ASS4S1N4T3
Or Multiple Conditions
-- Conditions
-------If Facing of Triggering Unit is greater than Facing of Target Unit of Ability Beign cast - 120
-------(Current Order of (Target Unit of Ability)) beign cast not equal to attack (its in string conditions)
If Facing of Triggering Unit is lesser than Facing of Target Unit of Ability Beign cast + 120
Actions
Unit - Damage TargetUnit of Ability Beign Cast by Triggering Unit of 9999999999999999999999999999999999 Attack type of Chaos - Damage type of Spirit Link (or unknown)
There's a problem with the angle calculations.
"Facing of triggering Unit is greater than facing of Target Unit of ability being cast -/+ 120"
This can return a number which isn't between 0 and 360. ex: If one of the units face an angle of 320 degrees, then adding 120 degrees more to it would make the number 440, where it instead should have been 80.
Yes, you can spin a circle for 1000000 since the number is being turnt into degrees.
But when using the arithmetic function, the number is not in degrees, which isn't good when you are trying to compare angles with each other, where one of them isn't in degrees. for example: 30° > (250°+120°=10°) returns true, but 30 > (250+120=370) returns false where it should have returned true, since the number 370 isn't in degrees. To turn the number into degrees, use ModuloReal(number, 360.0).
I'm sorry about my bad english, but this is the only way that i can explain it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.