I'm trying to convert this simple line of code from something that uses the engine module to something that uses the fakemeta module. However, I'm barely familiar with fakemeta at best and thus, have little idea where to begin.
Can someone show me how I'd use fakemeta to achieve the same functionality as I get by using engine?
Code:
g_mapHasBomb = find_ent_by_class(-1, "func_bomb_target");
As you can see in the code, all I'm trying to do is find out if the current map has a bomb target in it (thus presumably a bomb as well). That's it.