alright here is my problem, im making a rpg, and i am currently working on battles, i have 3 spot holders on the frame(“Main_Spot”,“Sub_Spot1”,“Sub_Spot2”),what i need to know is how to change these spot holders into randomly chosen enemies(40+).Each enemy is its own Mc.
Sorry what do u mean by ‘spot holders’, do u mean frames? or am i not up with the lingo
When i said “Spot Holders” i meant basically useless Mc’s whose pupropse is basically for me to change them(remove and replace) with the selected (or random)enemy Mc’s.For example: when putting up a picture you might mark on the wall where to put the picture, but the marks sole pupose is to show you where to put the picture. but once again i say that my problem is how to do this without wasting time. take in mind that i have about 47 enemies, each on their own Mc.
Make an array of all the enemies… And then use Math.random to select the enemies out of the array randomly… You might also want to set it up so that it might only put 1 and not all 3 or all 3 or anything like that as well.