ackvonhuelioLvl 41
pluto
not even close
i didn't implement:
moneys
abilities
winning
losing
more than 1 level
loadout selection
so theres plenty more for u to do
pluto
not even close
i didn't implement:
moneys
abilities
winning
losing
more than 1 level
loadout selection
so theres plenty more for u to do
pluto
so basically what i did:
// to remind you how a for loop works:
for(var i = 0; i < array.length; i++){
// create variable i and iterate from zero to the length of the array
console.log(array[i]);
// print the ith object in the array, since i goes from zero to the length of the array everything in the array is printed
}
enemy.health
gives current health, enemy.data.health
gives the max health of all enemies of that type.-wyi
if you can understand my messy code sure i guess
ackvonhuelio Your stuff is confusing but I'll figure it out well enough with time.
[unknown] i thought i had a basic knowledge of arrays, but i don't lol
ackvonhuelio
What do the variables "i" and "q" on lines 325 - 347 do? I'm kinda just trying to use to code as a way to make an A.I. that shoots other A.I.s of different factions.
[unknown]
i and q are parts of the for loops
see my above comment for reminder on how for loops work
lines 379 and 381 are leftover from plutos original code, its doing absolutely nothing but i never bothered to delete the variables
ackvonhuelio
yep I'm dumb as shit cause I don't understand that