TheBreakingHit Posted May 9, 2020 Share Posted May 9, 2020 How do i spawn in a permanent meteor shower with console? i tried c_spawn("meteorspawner") already. Link to comment https://forums.kleientertainment.com/forums/topic/118115-meterors/ Share on other sites More sharing options...
ADM Posted May 9, 2020 Share Posted May 9, 2020 It should be working, but just like other meteor fields on the map you will have to wait for the meteors to spawn around, I guess. Link to comment https://forums.kleientertainment.com/forums/topic/118115-meterors/#findComment-1332280 Share on other sites More sharing options...
Cuikui Posted May 9, 2020 Share Posted May 9, 2020 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. Link to comment https://forums.kleientertainment.com/forums/topic/118115-meterors/#findComment-1332286 Share on other sites More sharing options...
Recommended Posts
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.