This is the trigger I found over the internet someone did, if someone could break down this trigger step by step in detail how to recreate it or show me a much better one it would be most thankful.
circlewalking
events
time - Every 0.5 seconds of game time
conditions
actions
unit - Order YourUnit to move to middleOfCircle offset by RadiusOfCircle towards TempReal degrees)
Set TempReal = (TempReal + 1.00)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
'IF'-conditions
TempReal greater than 360.00
'THEN'-actions
Set TempReal = (TempReal mod 360.00)
'ELSE'-actions
This trigger is suppose to make unit walk in circles around a point I believe or say the least it is what i am trying to create my self with out having to create hundreds of points.
This is what I had wrote too creating this trigger...
Event- Timer - Every 0.5 seconds of Game Time
Actions -
Unit - Order Colony Ship [201.85, 35.17] to ( Move targeting (Point 001 offset by 360.0 towards TempReal degrees)) (Replace Existing Orders)
Variable - Set TempReal = TempReal
General - If (Conditions) then do (Actions) else do (Actions)
if- TempReal > 360.0
then- Variable - Set TempReal = 360.0
I tested, I got an error with the TempReal.
circlewalking
events
time - Every 0.5 seconds of game time
conditions
actions
unit - Order YourUnit to move to middleOfCircle offset by RadiusOfCircle towards TempReal degrees)
Set TempReal = (TempReal + 1.00)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
'IF'-conditions
TempReal greater than 360.00
'THEN'-actions
Set TempReal = (TempReal mod 360.00)
'ELSE'-actions
This trigger is suppose to make unit walk in circles around a point I believe or say the least it is what i am trying to create my self with out having to create hundreds of points.
This is what I had wrote too creating this trigger...
Event- Timer - Every 0.5 seconds of Game Time
Actions -
Unit - Order Colony Ship [201.85, 35.17] to ( Move targeting (Point 001 offset by 360.0 towards TempReal degrees)) (Replace Existing Orders)
Variable - Set TempReal = TempReal
General - If (Conditions) then do (Actions) else do (Actions)
if- TempReal > 360.0
then- Variable - Set TempReal = 360.0
I tested, I got an error with the TempReal.
Last edited by a moderator: