Interception Error (in Game Engine)


Hey there,

I’m fairly certain this is a bug in the engine, and not my code. When I try to run findFriends or hero.findNearestFriend() it tries to load the arrow tower as a friend, then gets mad at me for trying to do that. The specific error is Error: Tried to load unsafe native value into the interpreter: object/Arrow Tower

Here’s the image:


When you define x and y, why are you using “enemy+pos.x” and “enemy+pos.y” instead of “enemy.pos.x” and “enemy.pos.y”?