by makslane » Mon Aug 28, 2006 5:28 pm
There is other ways, but now, I can think you can use multiple actors, one for each character. You can try this:
1) Make a base actor thats will hold all character actions (move, attack ...)
2) Create the 'skin' actors that will have the animations and will inherit the events from the base actor.
So, you will need make just one actor to make all work, and put the animations in the skin actors.
To make the selection, you can use a 'Mouse Button Down' event, check the name of the actor (an skin), and create the player with the same name.
To control the lock, you can create a lock variable, and check this when the user try select the actor.