Skip to content
User Avatar
#3813
Auto-translated
Both in battle and on the adventure map, when spawning a creature onto an occupied cell, it will spawn on the nearest available cell.

Overall, there is nothing particularly complicated.
function SaveCreaturePos(table, mob)
local x, y, z = GetObjectPosition(mob)
creature_coord_table[mob] = {x=x, y=y, floor=z}
end --Something like this
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________