Hello! I decided to use family object for all weapon sprites. Every family object has rate of fire variable. For example rifle has 1 second, pistol 0.5, uzi 0.2 second. But when i run project they have one rate of fire for all of them.
Here is my code:
Objects:
You can download project file here: yadi.sk/d/bcKLrdIxo_IM0w
How to setup different rate of fire in family objects?