Log In  

So i have a make actor function which creates a circle random in the screen and adds it to actors table i have the keyboad mouse enabled, so lets say i generated 2 circles on screen what i wanna do is when clicked first it should draw a line between mouse and the circle object(i have sucsesfully implemented this) what i wanna do now click the second object and stop drawing line between circle1 and mouse and draw a line between circle 1 and circle 2 (kinda like circ1.connected =circ2 and circ2.connected=circ1) but they are generated through out the game so i cant put their names in like that

P#53085 2018-05-29 09:05 ( Edited 2018-05-29 13:14)

Got it working:
What i did is i used a holder variable yeah

P#53086 2018-05-29 09:14 ( Edited 2018-05-29 13:14)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 14:29:24 | 0.008s | Q:7