Jump to content

Pig Torch and Pig guardian


Recommended Posts

Hi all,

for create a event, i want have pig guardian protect pig torch like default generate world

but it's look like there is problem when i try to spawn manually pig torch

when i spawn pig torch and i wait 4 days, pig guardian doesn't spawn

170615120806584254.jpg

170615120808697688.jpg

someone know if it's bug? or it's possible to that's works with other commands?

because i have just make c_spawn("pigtorch")

someone have a idea?

thx you very much for your help

ToNiO

Link to comment
Share on other sites

Did you tried going far from the pig torch and see if the pig guard appears ? There is this line in the code :

 

    inst.components.spawner:SetOnlySpawnOffscreen(true)

So maybe they can't spawn if you are too close ?

Link to comment
Share on other sites

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
 Share

×
  • Create New...