View Single Post
Old
TauTrumpsPi
Senior Member
 
TauTrumpsPi's Avatar
 
Status: Offline
Posts: 399
Join Date: Mar 2011
Location: The diamond layer
Default 04-26-2012, 06:54 AM

Quote:
Originally Posted by sjrlax69 View Post
I need help with creating a bullet counter, I know its simple but I just can't seem to figure it out. Also can someone help me with creating a shooting method that releases some sort of projectile? Any and all advice is appreciated. Also, I can't upload my file to this site because it is missing a security token
The easiest way to use bullets is not to use an actual bullet, but to mess with functions for an "Is in front of gun" function. Using "Is to the left of" And "Is above", you should be able to make a nice one.

As for the bullet counter, just put an increment/decrement method for a world level variable in your shoot method.


--------------------------------------------------------------------------------------------------------------------------
I have plenty of common sense. I just choose to ignore it.
-Calvin and Hobbes

Wondering about my Avatar?
http://en.wikipedia.org/wiki/Tardigrade

Wondering about my username?
http://www.youtube.com/watch?v=jG7vhMMXagQ
   
Reply With Quote