Is this what you wanted? If they actually are connected then you can use parent and collide. I can explain other methods if you still don't get it, or if this is not what you wanted.
http://game-editor.com/forum/viewtopic.php?f=1&t=6450You could also have an actor variable connected, and set it to a variable. Then have a global variable, called selected. In the draw of your actors;
Any->DrawActor->Script Editor
- Code: Select all
if(connected==selected)
{
FollowMouse("Event Actor", BOTH_AXIS);
}
Then when you click an actor, it sets selected to the actor's connected.
Any->MouseButtonDown(Drag)->Script Editor
- Code: Select all
selected=connected;
And whenever you want to connect certain actors, set their connected to the same number.