1.I need help with some scripting that i can't really do, i need to attach my weapon to the character, i have made the weapon and i can rotate it and here is the script:
2.I would also like to make the buttons 1, 2, 3, 4, 5 as weapon buttons, as an example: 1: glock, 2: uzi, 3: mp5, 4: Sniper, 5. bazooka. But i don't want the people to have them all at the beginning, i want them to buy them for kills at the end of the level.
3. How do i make my enemies have more hp or less hp? And how to make the the weapons shoot faster and slower, more dmg and lesser dmg.
I know this is kinda much but this is all the things i don't really understand atm, thanks for reading and if you can help, please do.
Oh, I think I got it now, You need to have mcMain on the frame with the shop, but it needs to be invisible or hidden under it. And in the EnterFrame function put:
if(_root.shop._visible == false) { //insert the rest of the enterFrame code here }
Ok I think I know how to do this, make a layer for only your character (if you haven't already) and make every frame in that layer part of one keyframe, instead of several keyframes. This way you will have one instance of mcMain for the whole game. Now it should work.