Expression of type string array cannot be invoked

BlitzMax Forums/BlitzMax Programming/Expression of type string array cannot be invoked

Looks like your function object_type(bs.x , bs.y) doesn't return a string?

Function object_type:String(bs.x , bs.y)
Return "barrel"
End Function