I have a set of variables with three (3) different choices..
The player can be one of the following:
1. Bare Hands
2. Hold Shotgun
3. Hold Revolver
http://www.chadmcrae.com/questionofgun.bmp
Now, I was looking at WolRons code for a fps and would like something like that.. But however, instead of parenting the bulletmesh to weapon1, which in the case of his example is a cylinder, can I parent it to my entity of my weapon?
Also, whenever a different weapon is picked, can I use different variables for the rate of fire? Since shotgun "spreads" out when fired, can I have an entity that appears "spread" out when the revolver may be just a simple cone (just an example)?
And one last question before I go, how comes sometimes when I'm testing my code, and I press F5, why is it that sometimes it says "Function can only appear once" or whatever it means by that, and I have to get rid of the last function I did? Did I make a booboo somewhere or am I missing something?
Thanks,
Chad
The player can be one of the following:
1. Bare Hands
2. Hold Shotgun
3. Hold Revolver
http://www.chadmcrae.com/questionofgun.bmp
Now, I was looking at WolRons code for a fps and would like something like that.. But however, instead of parenting the bulletmesh to weapon1, which in the case of his example is a cylinder, can I parent it to my entity of my weapon?
Also, whenever a different weapon is picked, can I use different variables for the rate of fire? Since shotgun "spreads" out when fired, can I have an entity that appears "spread" out when the revolver may be just a simple cone (just an example)?
And one last question before I go, how comes sometimes when I'm testing my code, and I press F5, why is it that sometimes it says "Function can only appear once" or whatever it means by that, and I have to get rid of the last function I did? Did I make a booboo somewhere or am I missing something?
Thanks,
Chad