Ok, so thanks to your tutorial I made crates with random loots, those loots are weapons and these weapons has their own statistics (accuracy, rate of fire, dmg, etc)
When the player shoots a weapon, he spawns the appropiate bullet for the weapon he is carrying and sets the bullet.angle to the "aim+-weapon.accuracy" I can do this with all my weapons but... is there a way to pick the statistics from an array and apply them to the shot?
What I was trying to achieve for the last few hours is:
array has stored damage, accuracy, rate of fire, ammo spended on the shot and type of ammo for each weapon type
is it possible to do this?
Player on shot spawns bullet type depending on the current weapon
Set bullet towards mouse+-weapon.accuracy
Substract ammo needed from the chamber
What i'm trying to do its to teach myself better ways to do things, i can do it weapon by weapon (probably more than 75) but if thre is a way to save time in the future this is worth