
06-10-2001, 10:08 AM
|
|
Banned
|
 |
Join Date: Mar 2001
Location: United States of America
Posts: 1,733
|
|
|
actually it does matter with else...
basicly without else, it will do everything instantly....
for istance try doing weapon fired, and making it go something like:
if (weaponfired) {
if (this.on = 1) {
this.on = 0;
}else{
if (this.on = 0) {
this.on = 1;
}
}
}
then have another going:
if (weaponfired) {
if (this.on = 1) {
this.on = 0;
}
if (this.on = 0) {
this.on = 1;
}
}
and you will see what i mean ;-) |
|
|
|