Project Zomboid Debug Scenarios Official
A simple custom scenario example ( MyScenario.lua ):
-- Spawn 50 zombies nearby for i = 1,50 do local zombie = createZombie(getPlayer():getX() + (i % 10), getPlayer():getY() + math.floor(i/10)) zombie:setTarget(getPlayer()) end project zomboid debug scenarios
-- Send a chat message printToChat("Welcome to your custom hell. Good luck.") end A simple custom scenario example ( MyScenario
function MyScenario:OnStart() -- Teleport to coordinates (x, y, z) getPlayer():setX(12000) getPlayer():setY(8500) -- Start a helicopter event SandboxVars.DebugHeli = true triggerHelicopter() project zomboid debug scenarios