Hej to You!
global objectNo
on mouseDown
if voidP(objectNo) or objectNo < 50 then --maybe you wanna look up which sprite is
the first empty one before doing this. I chose no. 50.
objectNo = 50
end if
objectNo = objectNo + 1 --the first sprite used will be no. 51...
--Get the mouseLoc when clicking the mouse
clickedPos = the mouseLoc
--Make a sprite channel a puppetsprite, position it and put a member in it
puppetSprite objectNo,1
sprite(objectNo).loc = clickedPos
sprite(objectNo).member = "theMemberYouWant"
end
This makes the member you want to appear where you clicked. Even though Lingo is
new to you I'm sure you can make the sprites to use random positions instead of
the mouse position...
I would recommend having a list containing the new sprites made by the script to be
able to do something (like deleting) with them later on...
Lycka till!
guran
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]