Spawning same actor over and over
Hi, in my game I spawn the same actor over and over by touching the screen. I need to drag the actors around and do some other stuff, but at the moment when I drop the second actor, all the actors that have been spawned all get affected the same way as the current actor.
I'm wondering what is the simplest way to code up a rule that differentiates the same actor from each other once they are spawned? I was thinking maybe assigning an ID and saving the attribute, but not quite sure how to go about it.
The other solution was to duplicate the actor20 or 50 times, but again I have to create many global attributes to set the position when dragging. Surely there must be an easier way?
Thanks
Mick
I'm wondering what is the simplest way to code up a rule that differentiates the same actor from each other once they are spawned? I was thinking maybe assigning an ID and saving the attribute, but not quite sure how to go about it.
The other solution was to duplicate the actor20 or 50 times, but again I have to create many global attributes to set the position when dragging. Surely there must be an easier way?
Thanks
Mick
Comments
___________________________________________________________________________________
Project Help from Tenrdrmer Click Here
GS BubbleBall Template HERE!!
Stacks Level Selection Template HERE!!
Expanding Option Menu Template HERE!!
Tenrdrmer's Menu # 3 HERE!!
Menu #4 - Level Banners HERE!!
AppSolute Entertainment on Facebook
AppSolute Entertainment on iTunes