Quote:
|
Originally Posted by falco10291029
wait what exactly do u mean a for loops? I dont know how it uld set it though pleas ebe a little more clear and sorry i started what shuld have been a diff thread
|
This is a for loop:
NPC Code:
for (initial-condition;test-condition;increment-op) {
//put code here that is executed each iteration
}
Read up on for loops to get a good understanding of what each of these parts is, but I will give you another hint for after you have done so: You will want to loop through until the weaponscount. That'll be part of your your test condition.