- Joined
- May 9, 2010
- Messages
- 266
Hello guys!
I need your help to make system for my map.
System is bounce from walls like in magic football or some another maps.
I have made all triggers, calculate angle, but bounced unit path is not right.
Here is trigger with left wall.
I have made a screenshot with path of the unit.
HEEEEEEEEEELP PLZZZZ!!!
I need your help to make system for my map.
System is bounce from walls like in magic football or some another maps.
I have made all triggers, calculate angle, but bounced unit path is not right.
Here is trigger with left wall.
-
some
-
Events
-
Time - Elapsed game time is 1.00 seconds
-
-
Conditions
-
Actions
-
Set integer = (integer + 1)
-
Set AngleAr[integer] = 160.00
-
Set TempPoint = StandartPoint
-
Set TempPoint2 = (TempPoint offset by 1250.00 towards AngleAr[integer] degrees)
-
Unit - Create 1 man for Player 1 (Red) at TempPoint facing AngleAr[integer] degrees
-
Set LCU[integer] = (Last created unit)
-
Unit - Order LCU[integer] to Move TempPoint2
-
Custom script: call RemoveLocation(udg_TempPoint)
-
Custom script: call RemoveLocation(udg_TempPoint2)
-
Game - Display to (All players) the text: (String((Facing of LCU[integer])))
-
-
-
some 2
-
Events
-
Unit - A unit enters zone 000 <gen>
-
-
Conditions
-
Actions
-
Set TempPoint = (Position of (Triggering unit))
-
Set TempPoint2 = (TempPoint offset by 2000.00 towards (180.00 - AngleAr[integer]) degrees)
-
Unit - Order (Triggering unit) to Move TempPoint2
-
Custom script: call RemoveLocation(udg_TempPoint)
-
Custom script: call RemoveLocation(udg_TempPoint2)
-
-
I have made a screenshot with path of the unit.
HEEEEEEEEEELP PLZZZZ!!!