1 decade ago by Gommeth
Solved previous issue but now I have a new one: I'm trying to do a melee detection by using distanceTo but I can't find out how or where to get the entities of both the enemies, preferably using getEntitiesByType, and the hero, using getEntityByName.
Anyone have any advice on how or where to be able to call these methods? Everywhere I try it seems it just says that MyGame or game is unreferenced, doesn't contain method, etc
Anyone have any advice on how or where to be able to call these methods? Everywhere I try it seems it just says that MyGame or game is unreferenced, doesn't contain method, etc