Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   fps reloading (http://www.alice.org/community/showthread.php?t=7255)

deth2day 09-20-2011 04:35 PM

fps reloading
 
how do i get it to after it does the shooting method 30 times it automatically does the reload method
thanks for the help

DensetsuNoKaboom 09-20-2011 06:00 PM

Make a number variable "shots" that is set to 0, and at the end of your shooting method, add an if/else statement that says "if shots == 29, reload, else increment shots by 1". Then add "shots set value to 0" in your reloading method.

adams34 09-25-2011 11:09 AM

Make a number variable "shots" that is set to 0, and at the end of your shooting method, add an if/else statement that says "if shots == 29, reload, else increment shots by 1". Then add "shots set value to 0" in your reloading method


All times are GMT -5. The time now is 05:42 AM.

Copyright ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.