Quote:
Originally Posted by kyleaucoin
is there a way to say pick up a gun in a rather simple manner. also can someone help me with and ammo/health system. this would be very helpful thanks!
|
the simplest ways are just world variables. for the weapon pick up you can have it on the ground and an invisible one in the firing position. then when you walk over it you change the world variable to a higher number, make the gun on the ground invisible, and make the one in your hands visible. To carry multiple weapons at once you can use multiple variables to detect which one you are currently using. To pick up multiple weapons in different orders you can make a list. health and ammo are similar in that they use world variables. hope this helped.