- Joined
- Dec 6, 2009
- Messages
- 173
Hello!
I have created a circle using units and that works without any problems. But when I try to ping the same area as the units would spawn in, then it doesn't ping at the same location and it really confuses me as to why since I use the exact same location. Any help is appreciated.
Instead of pinging on the minimap in a circle it pings around one of the locations points in like a oval shape.
Setup Trigger
I have created a circle using units and that works without any problems. But when I try to ping the same area as the units would spawn in, then it doesn't ping at the same location and it really confuses me as to why since I use the exact same location. Any help is appreciated.
Instead of pinging on the minimap in a circle it pings around one of the locations points in like a oval shape.
Setup Trigger
-
Circle Setup
-
Events
-
Map initialization
-
-
Conditions
-
Actions
-
Set VariableSet Circle_DummyUnit = Outer Ring
-
Set VariableSet Circle_ShrinkSpeed = 10.00
-
Set VariableSet Circle_Center = (Center of (Playable map area))
-
Set VariableSet Circle_MaxRadius = 10000.00
-
Set VariableSet Circle_Radius[1] = 5000.00
-
Set VariableSet Circle_Radius[2] = 2000.00
-
Set VariableSet Circle_Radius[3] = 1000.00
-
Set VariableSet Circle_MinRadius = 500.00
-
Set VariableSet Circle_DummyCount = 200
-
Set VariableSet Circle_OwningPlayer = Player 24 (Peanut)
-
-------- --------- --------
-
Set VariableSet Circle_CurrRadius = Circle_MaxRadius
-
Set VariableSet Circle_DummyAngle = (360.00 / (Real(Circle_DummyCount)))
-
-
-
Circle Start Message
-
Events
-
Time - Circle_Timer5 expires
-
-
Conditions
-
Actions
-
Game - Display to (All players) for 10.00 seconds the text: (The circle starts at + (Quest_String[1] + (: + Quest_String[2])))
-
For each (Integer A) from 1 to Circle_DummyCount, do (Actions)
-
Loop - Actions
-
Set VariableSet Circle_CurrentPoint = (Circle_Center offset by Circle_MaxRadius towards (Circle_DummyAngle x (Real((Integer A)))) degrees.)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
(X of Circle_CurrentPoint) Greater than WB_MaxX
-
(X of Circle_CurrentPoint) Less than WB_MinX
-
(Y of Circle_CurrentPoint) Greater than WB_MaxY
-
(Y of Circle_CurrentPoint) Less than WB_MinY
-
-
-
-
Then - Actions
-
Custom script: call RemoveLocation(udg_Circle_CurrentPoint)
-
-
Else - Actions
-
Unit - Create 1 Circle_DummyUnit for Circle_OwningPlayer at Circle_CurrentPoint facing 0.00 degrees <----------------- This works
-
Set VariableSet Circle_Dummy[(Integer A)] = (Last created unit)
-
Cinematic - Ping minimap for (All players) at Circle_CurrentPoint for 2.00 seconds <------------------- This doesn't work
-
Custom script: call RemoveLocation(udg_Circle_CurrentPoint)
-
-
-
-
-
-