I am trying to get a behavior to access another objects plugin aces but I am having trouble getting it to work.
Specifically, I want a behavior on an sprite to access a tilemap objects expressions. I figured all I needed to do was pass the tilemap object via a parameter in an action and then call the required tilemap expresion via:
this.testing = cr.plugins_.Tilemap.prototype.Exps.PositionToTileX.call ( tilemap, zX);
But I get an error about can't read property of PositionToTileX of undefined...