Jump to content

Reanimated Skeletons Lose Shadows


Left 4 Sharkb8
  • Pending

I'm unfortunately being plagued by a quite dreadful issue at the moment. It seems that no matter what I do, whether it be AddPrefabPostInit, changing the build manually (The skeletons here use a different prefab), name it if you can, I can't seem to find a way to change the build of the actual skeleton without the shadow behind it vanishing into thin air (Oh, but it also appears when the skeleton attacks, for some reason). I have absolutely no idea why this happens, but you should be able to replicate it by changing the build of the skeleton via AddPrefabPostInit. I should mention that when this occurs, it affects almost ALL skeletons that use the shadow, including cave stalkers, the two custom ones I have, and the Ancient Fuelweaver. If this isn't a bug, and I'm instead doing something wrong, feel free to let me know. 
strongstalker.luaunknown.png


Steps to Reproduce

Try 
AddPrefabPostInit("stalker", function(inst)
         inst.AnimState:SetBuild("strongstalker") --Note: "strongstalker" is just the name of one of my builds, so you could just try replacing it with another skeleton
end) 
and see if it works? Alternatively, you could try using the lua I attached 




User Feedback


There are no comments to display.



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

×
  • Create New...