#Skeleton crash
1 messages · Page 1 of 1 (latest)
That's very curious, but I'm curious, how do you spawn those skeletons ? Because what I did personally was swap the texture of the zombies to the skeleton and use setSkeleton if I remember right
I spawned the zombies using some some values of the player, and then used setSkeleton() I have a snipped of the code to show, but I'm away from home to do that...
I'm going to paste it here once I can do that.
I think you may need to update the model if you're doing with an already existing character.
As promised, here is the snipped of the code I did
local x = player:getX()
local y = player:getY()
local z = player:getZ()
local zombie = createZombie(x, y, z, player:getDescriptor(), 0, player:getForwardMovementIsoDirection())
zombie:setSkeleton(true)