- Home /
Switch Gun with dastardlybanana fps kit
I cant seem to switch gun correctly. I watched the tutorial and i know how to make a secondary attachment(like the masterkey shotgun) but i dont know how to actually make it switch to another gun intirely. I have tried everything i can think of and i need help
Answer by Jason_DB · May 22, 2011 at 09:02 PM
What should happen is you put more than one weapon in the 'weapons' array in PlayerWeapons. Then just press the number keys to switch between those weapons. Does this work in the demo scene?
see i dont know how to make the gun pop up where i want it to. and when i put the gun in the weapons array the gun is just another primary gun not a secondary like i want it to be
A secondary weapon is another script on the weapon itself (and doesn't need to be in the playerweapons array). What you drag into PlayerWeapons are the different primary weapons. also, the guns should pop up wherever you place them.
Your answer
Follow this Question
Related Questions
One scipt to cover all guns 1 Answer
pause for dastardly bannana 1 Answer
DastardlyBanana(moving while jumping. 2 Answers
Fps Arm moves fase 2 Answers
is there a way to get a mdl in untiy 1 Answer