Help me to receive a reflection angle for a leaving unit. 
this trigger is poorly mapped (with another language)
- so unit simply flying into a wall
I was going to make the game like: arkanoid for two player
below map itself :

this trigger is poorly mapped (with another language)
-
setAngle
-
Events
-
Unit - A unit leaves Game <gen>
-
Conditions
-
Actions
-
Trigger - Turn off unitmove <gen>
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
real than or equal to 180.00
-
Then - Actions
-
Set real = (real - 90.00)
-
Else - actions
-
Set real = (real + 90.00)
-
Unit - Move (Leaving unit) instantly to ((Position of (Leaving unit)) offset by -222.00 towards real degrees)
-
Trigger - Turn on unitmove <gen>
-
- so unit simply flying into a wall

I was going to make the game like: arkanoid for two player
below map itself :
Attachments
Last edited: