Forum: GameBots2004

i need convert Location to mapNode

for example 1422.29; 10766.25; -3198.10 to CTF-1on1-Joust.InventorySpot7

I want to find out on which node is located some bot
i know player..getLocation(), but i need node

& how to determine the health of each player

thank you , Lukas
NavPoint nerestNavPoint = DistanceUtils.getNearest(someBotLocation, world.getAll(NavPoint.class).values());

You cannot know the health of other bot, that would be cheating.

Jakub
thank you :-)
That's for debugging purposes :-)

Of course we KNOW how much health each bot has, UT2004 must know this so GB2004 has access to this information,
but we DO NOT export it to bot. We only provide you the visualization as DEBUG AID.

Jakub