- Joined
- Apr 8, 2017
- Messages
- 1,605
Hi, im trying to make my own version of the "Sphere" from Bloodmage but with triggers
Trigger, EVERY 0.02 seconds btw
The problem is that the units has a weird effect that its like a "twinkle"
.
Trigger, EVERY 0.02 seconds btw
-
Acciones
-
Set zzzDruPriVisualLocBase = ((Position of zzzDruPriVisualUnit[100]) offset by (15.00, 0.00))
-
Set zzzDruPriVisualValue[1] = 1.00
-
Set zzzDruPriVisualAng = (zzzDruPriVisualAng + zzzDruPriVisualValue[1])
-
Set zzzDruPriVisualValue[2] = 50.00
-
-------- --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
if: Conditions
-
zzzDruPriVisualAng Mayor que o igual a 360.00
-
-
then: Actions
-
Set zzzDruPriVisualAng = (zzzDruPriVisualAng - 360.00)
-
-
Otros: Actions
-
-
Set zzzDruPriVisualLoc1 = (zzzDruPriVisualLocBase offset by zzzDruPriVisualValue[2] towards zzzDruPriVisualAng degrees)
-
Unit - Move zzzDruPriVisualUnit[1] instantly to zzzDruPriVisualLoc1, facing 90.00 degrees
-
-------- --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
if: Conditions
-
zzzDruPriVisualAng Mayor que o igual a 360.00
-
-
then: Actions
-
Set zzzDruPriVisualAng = (zzzDruPriVisualAng - 360.00)
-
-
other: Actions
-
-
Set zzzDruPriVisualLoc2 = (zzzDruPriVisualLocBase offset by zzzDruPriVisualValue[2] towards zzzDruPriVisualAng degrees)
-
Set zzzDruPriVisualAng = (zzzDruPriVisualAng + 120.00)
-
Unit - Move zzzDruPriVisualUnit[2] instantly to zzzDruPriVisualLoc2, facing 90.00 degrees
-
-------- --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
if: Conditions
-
zzzDruPriVisualAng Mayor que o igual a 360.00
-
-
then: Actions
-
Set zzzDruPriVisualAng = (zzzDruPriVisualAng - 360.00)
-
-
other: Actions
-
-
Set zzzDruPriVisualLoc3 = (zzzDruPriVisualLocBase offset by zzzDruPriVisualValue[2] towards zzzDruPriVisualAng degrees)
-
Set zzzDruPriVisualAng = (zzzDruPriVisualAng + 120.00)
-
Unit - Move zzzDruPriVisualUnit[3] instantly to zzzDruPriVisualLoc3, facing 90.00 degrees
-
-------- --------
-
-------- --------
-
Custom script: call RemoveLocation(udg_zzzDruPriVisualLoc1)
-
Custom script: call RemoveLocation(udg_zzzDruPriVisualLoc2)
-
Custom script: call RemoveLocation(udg_zzzDruPriVisualLoc3)
-
Custom script: call RemoveLocation(udg_zzzDruPriVisualLocBase)
-
The problem is that the units has a weird effect that its like a "twinkle"
.