First I will tell you what I want to do.
I want to create two cargo proxies on the wing of an aircraft. one proxy will be on the wing flap, the other will be on another portion of the wing. I then want to moveincargo two created logics to the two proxies. I am doing this to measure the distance between the two logics. When the wing flaps lower, the proxy on the wing flap should move in relation to the logic on the wing. This will tell the script when the flap has been raised or lowered. Once the script figures out if the flap has been raised or lowered, it will raise or lower another flap on the wing.
Ok, here is what I've done.
I have created the two proxies and moved them to the position I want them on the wing. One proxy sits by itself, not connected to anything. The other proxy is physically attached to the wing flap, and it is also a part of the wing flap's selection. I have coded a game logic for my plane that will take the two cargo proxies. I have made a script that creates and moves the logics into position, and I created another script that relays the distance between the two logics in the form of a hint. I know that both scripts work, and I know that the logics are in their proper positions.
The problem.
When I lower the flaps, the proxy attached to the flap does not move with the flap. The flap moves down fine, but the proxy, or the logic, remains where it is. This means my distance figure doesn't change.
Questions.
So, what am I doint wrong? Can a proxy be attached to a moving part, and will it move with the part? Will the unit in cargo move with the proxy?
-Pilot
EDIT:
Correction, the proxy was not attached physically to the plane, the merge command wouldn't work with the proxy. I was able to get them attached, but that caused an error, so un-attached them. However, the proxy is still part of the flap selection.