If direction ?
HI,
I try to handle Directions in my script,
but how can I ask an If Command that checks the direction ?
I tested the following, and none works
[code:1]if( this.Direction == "North" )[/code:1]
[code:1]if( this.Direction == North )[/code:1]
[code:1]if( this.Direction = "North" )[/code:1]
[code:1]if( this.Direction = North )[/code:1]
Anyone knows which Command is correct ?
-Nova
HI,
I try to handle Directions in my script,
but how can I ask an If Command that checks the direction ?
I tested the following, and none works
[code:1]if( this.Direction == "North" )[/code:1]
[code:1]if( this.Direction == North )[/code:1]
[code:1]if( this.Direction = "North" )[/code:1]
[code:1]if( this.Direction = North )[/code:1]
Anyone knows which Command is correct ?
-Nova