Lokoluna Posted November 13, 2016 Share Posted November 13, 2016 So I've been digging about through google, files and such, but so far i've found no way to configure the spawn rate / remove them from my server and or world in general. These creatures to me and utterly useless and provide no benefit but to tick me off.. So.. How would I get started in preventing them from spawning? Link to comment https://forums.kleientertainment.com/forums/topic/71678-spider-queen-grass-gecko/ Share on other sites More sharing options...
zzKratoszz Posted November 14, 2016 Share Posted November 14, 2016 Your grass gecko half is answered here. Link to comment https://forums.kleientertainment.com/forums/topic/71678-spider-queen-grass-gecko/#findComment-837302 Share on other sites More sharing options...
. . . Posted November 14, 2016 Share Posted November 14, 2016 (edited) 6 hours ago, Lokoluna said: How would I get started in preventing them from spawning? Well, I don't know how to make them not spawn at all but if you want you can put this in your modmain.lua it will basically do the same thing Spoiler AddPrefabPostInit("spiderqueen", function(inst) -- Remove on spawn. inst:DoTaskInTime(0.1, function(inst) if inst.components.health and not inst.components.health:IsDead() then inst:Remove() end end) end) AddPrefabPostInit("grassgekko", function(inst) -- Remove on spawn. inst:DoTaskInTime(0.1, function(inst) if inst.components.health and not inst.components.health:IsDead() then inst:Remove() end end) end) What this does is it removes any grassgekkos or spiderqueens whenever they spawn, poor them... hahaha! Edited November 14, 2016 by SuperDavid Link to comment https://forums.kleientertainment.com/forums/topic/71678-spider-queen-grass-gecko/#findComment-837319 Share on other sites More sharing options...
Lokoluna Posted November 14, 2016 Author Share Posted November 14, 2016 1 hour ago, SuperDavid said: Well, I don't know how to make them not spawn at all but if you want you can put this in your modmain.lua it will basically do the same thing Hide contents AddPrefabPostInit("spiderqueen", function(inst) -- Remove on spawn. inst:DoTaskInTime(0.1, function(inst) if inst.components.health and not inst.components.health:IsDead() then inst:Remove() end end) end) AddPrefabPostInit("grassgekko", function(inst) -- Remove on spawn. inst:DoTaskInTime(0.1, function(inst) if inst.components.health and not inst.components.health:IsDead() then inst:Remove() end end) end) What this does is it removes any grassgekkos or spiderqueens whenever they spawn, poor them... hahaha! Very Helpful Thanks! Though i wish i could prevent the geckos from growing from my grass. Link to comment https://forums.kleientertainment.com/forums/topic/71678-spider-queen-grass-gecko/#findComment-837339 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now