- Joined
- Jan 9, 2005
- Messages
- 2,126
-
Custom script: if GetLocationX(udg_Orbit_loc2) > WorldBounds.maxX then
-
Custom script: call SetUnitX(udg_Orbit_orbiter, WorldBounds.maxX)
-
Custom script: else
-
Custom script: if GetLocationX(udg_Orbit_loc2) < WorldBounds.minX then
-
Custom script: call SetUnitX(udg_Orbit_orbiter, WorldBounds.minX)
-
Custom script: else
-
Custom script: call SetUnitX(udg_Orbit_orbiter, GetLocationX(udg_Orbit_loc2))
-
Custom script: endif
-
Custom script: endif
-
Custom script: if GetLocationY(udg_Orbit_loc2) > WorldBounds.maxY then
-
Custom script: call SetUnitY(udg_Orbit_orbiter, WorldBounds.maxY)
-
Custom script: else
-
Custom script: if GetLocationY(udg_Orbit_loc2) < WorldBounds.minY then
-
Custom script: call SetUnitY(udg_Orbit_orbiter, WorldBounds.minY)
-
Custom script: else
-
Custom script: call SetUnitY(udg_Orbit_orbiter, GetLocationY(udg_Orbit_loc2))
-
Custom script: endif
-
Custom script: endif