HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Handling cleanup of points that reference points.

04-26-2006, 03:44 AM#1
Dalten
My current situation calls for certain point variables to become equal to other point variables.

Say pointA = PointB.

If I remove PointB, pointA is automatically null. This i've known for awhile but i've run into another situation.

If I remove PointA, pointB is automatically set to null.

Is there a known way of handling this without saving the actual x/y coordinates? And yes, I absolutely need to be able to reference points in this way.
04-26-2006, 04:53 AM#2
PipeDream
the location type is a pointer. when you equate, you create a new reference to the real structure. You want to make a new copy, I believe. How about one of these?
Trigger:
Set A = (B offset by (0.00, 0.00))
Set A = (Point((X of B), (Y of B)))