#Zombie spawning skript

1 messages · Page 1 of 1 (latest)

bleak locust
#

does anyone know why this doesn't work?

tender ravine
gaunt prawn
#

Else doesnt work after chance. Id also recommend using list vars and temp vars. You can just use the numbers instead of setting them to variables then spawning. Set a temp var to the last spawned zombie then edit that

#

For future, format your code in code blocks, provide the errors, and be a little more detailed regarding your issues. Since you're obviously new, id recommend learning the basics before coming to others and saying 'it doesnt work'

thin matrix
gaunt prawn
#

it does?

thin matrix
#

it does!

#

chance is just another condition

gaunt prawn
#

why have i never known this..

thin matrix
#

¯_(ツ)_/¯

#

that said...

#

i recommend checking/reading your errors

bleak locust
thin matrix
#

then why didnt you tell us about the error

bleak locust
#

they were in a different chat cause someone else asked me for them but then they didn't respond

thin matrix
#

you cant post a wall of code and say "why no work"

bleak locust
#

and I never put them here

thin matrix
#

i dont like to spoonfeed, but i have limited time, so here

set {_x} to random number from -250 to 250
set {_z} to random number from -250 to 250
set {_loc} to location({_x}, 0, {_z})
set {_loc} to location 0.5 above highest block at {_loc}
spawn zombie at {_loc}
bleak locust
#

thanks