Jump to content

zombie spawnpoint?


Josh

Recommended Posts

Hello, I got a question.

I have created a spawn point like:

<Zombie_spawn id="Zombie_spawn (1)" dimension="2" interior="0" posX="2243.9108886719" posY="90.34447479248" posZ="26.3359375" rotX="0" rotY="0" rotZ="300.18414306641" /> 

but where should I place it, in the meta.xml or in a map file?

Link to comment

try this:

addEventHandler("onZombieSpawn",root,function() 
    posX= 2243.9108886719 
    posY=90.34447479248  
    posZ=26.3359375 
    setElementPosition(source,posX,posY,posZ) 
    setElementRotation(source,0,0,300.18414306641) 
end) 

Link to comment

I tried using without any dimension and it worked, but as in my first post I need them to be in the second one. I tried dimension = "2" with no result.

<Zombie_spawn id="Zombie_spawn (3)" posX="1869.6999511719" posY="-2426.1000976563" posZ="13.60000038147" rotX="0" rotY="0" rotZ="0"></Zombie_spawn> 

Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...