i need a script so that when you click one of the sprites at the bottom, an excact copy appears on your mouse and its on your mouse-pointer until you click on the spot where you wanna put it and it goes there and stays there so you can click another sprite and that same thing happens.
Offline
Something like this should do the trick, just replace x: 0 y: 0 with whatever you want the position to be.
The disadvantage is that the images you place are static, but this is simple and only uses one sprite.
Last edited by Harakou (2011-06-21 17:38:06)
Offline
no i mean like house builder 2.0 or something like that. so i dont have to make a bunch of sprites and crowd them around in a box. like a script that makes it stamp once or something and then so you have to hold the mouse until you find the right spot then let go of the mouse to make it stop there. something like that... er, i dont know!
Offline
I'm not really sure what you mean by that... if you want it to be in a specific area, I suppose you could have some variables set for a position, and check to see if the sprite is within a certain distance of that point before you're allowed to set it down.
Offline
Try this:
When sprite clicked
Repeat until <mouse down?>:
Go to mouse pointer
Wait 0.1 secs
If <mouse down?>
Stamp
Not sure if this will work, but you can try.
Offline