S
Stratos.la
Guest
Say oEnemyParent has a global variable of spd , dmg , hp and together with the player when he levels up the enemies also gain more power, hp etc. The saving system for the player is completed but im having trouble storing the enemy variables. To my understanding if i add the variables of the enemy to the save function how can it load each and every different enemy saved variables? as it is now i have one parent element and all my enemies inherited from that except that i change hp and spd on "tougher" enemies. If i save one global. enemy variable how can it work and follow each and every enemy's difference??