Wisp Wheel 1
Events
Time - Every 0.05 seconds of game time
Conditions
Actions
Set Point = ((Position of Wisp 0031 <gen>) offset by 256.00 towards WispSpin degrees)
Unit - Move Wisp 0030 <gen> instantly to Point
Set Point = ((Position of Wisp 0031 <gen>) offset by 512.00 towards WispSpin degrees)
Unit - Move Wisp 0029 <gen> instantly to Point
Set Point = ((Position of Wisp 0031 <gen>) offset by 256.00 towards (WispSpin - 258.00) degrees)
Unit - Move Wisp 0036 <gen> instantly to Point
Set Point = ((Position of Wisp 0031 <gen>) offset by 512.00 towards (WispSpin - 258.00) degrees)
Unit - Move Wisp 0037 <gen> instantly to Point
Set Point = ((Position of Wisp 0031 <gen>) offset by 256.00 towards (WispSpin - 506.00) degrees)
Unit - Move Wisp 0034 <gen> instantly to Point
Set Point = ((Position of Wisp 0031 <gen>) offset by 512.00 towards (WispSpin - 516.00) degrees)
Unit - Move Wisp 0035 <gen> instantly to Point
Set Point = ((Position of Wisp 0031 <gen>) offset by 256.00 towards (WispSpin - 754.00) degrees)
Unit - Move Wisp 0032 <gen> instantly to Point
Set Point = ((Position of Wisp 0031 <gen>) offset by 512.00 towards (WispSpin - 754.00) degrees)
Unit - Move Wisp 0033 <gen> instantly to Point
Custom script: call RemoveLocation(udg_Point)
Set WispSpin = (WispSpin - 5.00)
Events
Map initilization
Conditions
Actions
Set Wisp_Unit[0] = "Wisp 1"
Set Wisp_Angle[0] = Facing of Wisp 1
Set Wisp_Offset[0] = "100"
Set Wisp_Unit[1] = "Wisp 2"
Set Wisp_Angle[1] = Facing Of Wisp 2
Set Wisp_Offset[1] = "200"
Set Wisp_Unit[2] = "Wisp 3"
Set Wisp_Angle[2] = Facing Of Wisp 3
Set Wisp_Offset[2] = "300"
Set Wisps_To_Spin = 3
Events
Time - Every 0.07 Seconds
Conditions
Actions
Set Wisp_Orbit = (Center of a region, or positon of unit to spin around)
For each Integer A from 1 to Wisps_To_Spin do MULTIPLE Actions
Loop - Actions
Set Wisp_Loc[0] = Wisp_Orbit offset by Wisp_Offset[Integer A] towards Wisp_Angle[Integer A]
Unit - Move instantly Wisp_Unit[Integer A] to Wisp_Loc[0]
Set Angle[Integer A] = Angle[Integer A] + 1
Custom script: call RemoveLocation(udg_Wisp_Loc[0])
Custom script: call RemoveLocation(udg_Wisp_Orbit)
Events
Map initilization
Conditions
Actions
Set Wisp_Unit[0] = "Wisp 1"
Set Wisp_Angle[0] = Facing of Wisp 1
Set Wisp_Offset[0] = "100"
Set Wisp_Unit[1] = "Wisp 2"
Set Wisp_Angle[1] = Facing Of Wisp 2
Set Wisp_Offset[1] = "200"
Set Wisp_Unit[2] = "Wisp 3"
Set Wisp_Angle[2] = Facing Of Wisp 3
Set Wisp_Offset[2] = "300"
Set Wisps_To_Spin = 3
Set Wisp_Unit[i] = "Wisp 1"
Set Wisp_Angle[i] = Facing of Wisp 1
Set Wisp_Offset[i] = "100"
Set i = (i (+ 1))
Set Wisp_Unit[i] = "Wisp 2"
Set Wisp_Angle[i] = Facing Of Wisp 2
Set Wisp_Offset[i] = "200"
Set i = (i (+ 1)
Set Wisp_Unit[i] = "Wisp 3"
Set Wisp_Angle[i] = Facing Of Wisp 3
Set Wisp_Offset[i] = "300"
Just for your information, Maze of Dreams has already been taken. You may not want to name it the same as another maze.
Wth, Wisp_offset[] is set hereit doesnt have Wisp_Offset
Events
Map initilization
Conditions
Actions
Set Wisp_Unit[0] = "Wisp 1"
Set Wisp_Angle[0] = Facing of Wisp 1
Set Wisp_Offset[0] = "100"
Set Wisp_Unit[1] = "Wisp 2"
Set Wisp_Angle[1] = Facing Of Wisp 2
Set Wisp_Offset[1] = "200"
Set Wisp_Unit[2] = "Wisp 3"
Set Wisp_Angle[2] = Facing Of Wisp 3
Set Wisp_Offset[2] = "300"
Set Wisps_To_Spin = 3
Wth, Wisp_offset[] is set here
and its Wisp_offset[Integer A]
Code:Events Map initilization Conditions Actions Set Wisp_Unit[0] = "Wisp 1" Set Wisp_Angle[0] = Facing of Wisp 1 Set Wisp_Offset[0] = "100" Set Wisp_Unit[1] = "Wisp 2" Set Wisp_Angle[1] = Facing Of Wisp 2 Set Wisp_Offset[1] = "200" Set Wisp_Unit[2] = "Wisp 3" Set Wisp_Angle[2] = Facing Of Wisp 3 Set Wisp_Offset[2] = "300" Set Wisps_To_Spin = 3