After testing various methods of using these JS functions, I've come to the conclusion that they always return false no matter what.StaticAt function - takes 4 parameters - x, y, world, [tileID] (tileID is optional - if
not specified, ANY static at that location will match)
StaticInRange function - takes 5 parameters - x, y, world, radius, tileID
I've tried the following ways, and testVar was always false in the end:
var testVar = StaticAt( iUsed.x, iUsed.y, iUsed.worldnumber );
var testVar = StaticAt( iUsed.x, iUsed.y, iUsed.worldnumber, 0xa68 );
var testVar = StaticAt( iUsed.x, iUsed.y, iUsed.worldnumber, 0x0a68 );
var testVar = StaticAt( iUsed.x, iUsed.y, iUsed.worldnumber, 2664 );
var testVar = StaticAt( 1500, 1629, 10 );
var testVar = StaticAt( 1500, 1629, 10, 0xa68 );
var testVar = StaticAt( 1500, 1629, 10, 0x0a68 );
var testVar = StaticAt( 1500, 1629, 10, 2664 );
var testVar = StaticInRange( 1500, 1629, 0, 10 );
var testVar = StaticInRange( 1500, 1629, 0, 10, 0xa68 );
var testVar = StaticInRange( 1500, 1629, 0, 10, 0x0a68 );
var testVar = StaticInRange( 1500, 1629, 0, 10, 2664 );