Hi I start to write a zombie gamemode, hmm what it will consist in, will be something like Dayz Mod in arma II. But at the beginning encountered problems because you can not spawn bots on data kordynatach unless this and this is my question Is it possible. I'm going to create intelligent zombies spawn to the most surprised players.
Assume that we have a player on the x=0 y=0 I would like to bot spawn in x=PlayerX+5 (x=5) y=PlayerY (0)
But what if there is a wall? And how can I calculate to make the bot do not spawn in a wall.