i have an array with a lot of enemies, ordered by "NO_CLICKED", name, type, color, LEVEL (this level never change) and XP LEVEL. ->
Right now this array is in JSON format and is spawing 5 objects at the same time using LEVEL and if the object is NO_CLICKED (0). ->
If you click the enemy and destroy it then the enemy will respawn again because NO_CLICKED will have the value 0 and the enemy didn't level XP up or will level XP down, however if you destroy the enemy without clicking it then the enemy will level XP up. ->
What i want? well i want that my enemies respawn by time and time will be determinated by level XP, something like this: ->
Here i tried to use the plugin rex revive behavior but it didn't work because i need to save my values in the array and i don't need to revive the sprite specifically because the values are in the array, how i can do this with my array? i need to use real time and some enemies need to respawn maybe in 48 hours, for example... the player will save the game progress then if the player open the game after 48 hours then the enemy will appear of course i want to use waves, for example 5 enemies appear at the time otherwise you will have +30 enemies on screen and this is not the idea, each enemy will have his own time countdown, for example you destroy an enemy and the enemy level UP to 5 then this enemy will respawn in 72 hours.
i need the help of this comunity please because i am very sure that i cant do this myself because i spend a lot of time reading tutorials etc and i am not programmer <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad"> ... any advice, tutorial, guide or whatever help will be appreciated, thanks!
MY CAPX ->
http://www.filedropper.com/arrayspawnbylevelandxp