Jump to content

Recommended Posts

Is there a way to spawn a meteor? Like just one? And if so can i do it by making an item to trigger it? Im thinking similar to how the bell spawns the giant foot maybe. Theres no mod like that as far as i can tell and i have no idea where that code for meteor spawns would be. Any ideas?

Link to comment
https://forums.kleientertainment.com/forums/topic/69550-meteors/
Share on other sites

local function fn()
    local inst = CreateEntity()

    inst.entity:AddTransform()
    --[[Non-networked entity]]

    inst:AddTag("CLASSIFIED")

    inst:AddComponent("meteorshower")

    return inst
end

return Prefab("meteorspawner", fn)
 

i found this in the game's prefabs but i dont know how to use it 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...