Quote:
Originally posted by adam
Yes.... Once you learn arrays...
You could do that same script in 1/6th the number of lines....
or less.....
|
Sorry my bad.
For loops and thinking.
would let you do that in less lines.
only becouse there is a build in command for some old arrays.
Also you need to use " == " instead of " = " in an if statement.
NPC Code:
//-------------wrong thing----------//
if (this.value = this.othervalue) {
//do this;
}
//------------correct thing-----------//
if (this.value == this.othervalue){
//dothis;
}
Keep at it. You'll get it.
