Thanks for the reply.
i have the fire weapon function and inserted the enemyindex
Code:
function fireWeapon2(enemyIndex):Void { //trace('enemy '+i+' shootingout!'); //for (var i = 0; i<enemyArray.length; i++) { //check if weapon is reloaded & mouse is clicked //if true, create bullet //trace('enemy '+i+' shooting!in'); if(enemyArray[enemyIndex].enemyWeapon.reloadComplete2) { enemyArray[enemyIndex].weapon.play(); trace('enemy '+i+' shooting!'); createBullet2(enemyIndex); bulletoutplace2(1); } //} }
but with the update position i cant make sense of it
ive been working on it for a couple of hours but it is a waist of time i cant do this doesnt matter how hard i try im just changing something and hoping it works and thats not how it supposed to go.
i know some thng of action script but im far! away from what you can do.
i dont know anything of arrays i only know the for var i..
i got my self a actionscript book 2.0 and 3.0 and i will read all the things about the arrays and i hope i know some more next time..
i dont like it to ask everything everytime but if you dont know things you dont realy have a choice
..
so do you want to point me in the right direction with the updateposition? i only need to know ow to implant the enemy index *normal happy smiley but still angry about he cant so this himself*
Greet
Reaven















