Jump to content

Recommended Posts

You can push a onetime meteor rain by using

spawner = c_spawn("meteorspawner")
shower = spawner.components.meteorshower
shower:StartShower()

For a permanent meteor shower, you can build it yourself

spawner = c_spawn("meteorspawner")
shower = spawner.components.meteorshower
fn = function() if shower.tasktotime - GetTime() > 60 then shower:StartShower() end; end
shower.inst:DoPeriodicTask(1, fn)

To end the permanent shower, you must remove the spawner

spawner.inst:Remove()

Enjoy the shower.

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...