S
Smenkare
Guest
My every weapon, every piece of armor has different stats and sprite animations. I dont know how it works in gm and what its the most efficent and easiest way.
My sword for example has 4 different variables.
sword.animation
sword.damage
sword.equipped
sword.clicked
And i have these weapons like 50. How can i store all the data and how can i refer to this. I mean how can i check this for example sword data and then depends what animation, damage, and if its false or true - do some "events". Im sorry for my english, i hope that you understand my problem. I just don't want to make 1000 "if" questions. Thanks for help.
My sword for example has 4 different variables.
sword.animation
sword.damage
sword.equipped
sword.clicked
And i have these weapons like 50. How can i store all the data and how can i refer to this. I mean how can i check this for example sword data and then depends what animation, damage, and if its false or true - do some "events". Im sorry for my english, i hope that you understand my problem. I just don't want to make 1000 "if" questions. Thanks for help.