Jump to content

Mannequin Problem


DieHard3303

Recommended Posts

I have scripted a placeable mannequin in my Mod, using AndyW's code design and modifying it for my needs. The script works right for purchase, setup, and posing. The problem comes in when you leave the cell that the mannequin is in and the repose script takes over.The script checks every 15 seconds for the location of the player, if not in the cell it sets the repose var and the main script reposes the mannequin. When the mannequin is not in weapon pose their is no problems with it, when the mannequin is in weapons pose the Z pos ends up about 10 -20 units below the surface or goes invisible. I cannot see the connection between invisible and the Z Pos but that is what the result is. I do not disable or change the alpha on the mannequin except when returning it to your inventory. I have tried to capture the Z Pos at the end of the animation just before I shutoff the mannequin but this did not change the result. I do not reset the X Y Z on reposing when I do the mannequin goes deeper below the surface. Had a similar problem in my display area but it was fixed when I changed the where the mannequins were standing - not on a platform.

Thanks for any help that you can provide

Link to comment
Share on other sites

  • Recently Browsing   0 members

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