xavier108 wrote:I think does think you just said are impossible but i can help you with some stuff..............You can use gun_mod and throwing_mod for the guns and weapons................................You can use a health pack but i forgot its mod
function npc_spawner(pos)
local MAX_NPC = 5
local found = table.getn(minetest.env:get_objects_inside_radius(pos, 100))
if found == nil then
found = 0
if found <= MAX_NPC then
minetest.env:add_entity({x=pos.x+math.random(-1,1),y=pos.y+math.random(2,3),z=pos.z+math.random(-1,1)}, ("peaceful_npc:npc"))
end
end
end
snakevenom wrote:some of this could be done with the mesecons mod and some special wiring
Users browsing this forum: No registered users and 1 guest