Skol on 26/6/2024 at 00:28
I have a script that changes the Frac field of the Creature Pose property, but this doesn't seem to have an effect on the pose of the model. Does anyone have any experience with this? My theories are (1) You just can't do it, (2) Some other subsystem is constantly interfering with it, or (3) Other parameters also need to be modified for this to work.
R Soul on 26/6/2024 at 20:50
You can include the code Object.EndCreate(self); after setting the Frac. In Dromed game mode you will get an error message the first time round in each session. I'm not sure if this will leave any data in the background which could cause any other errors.
A slightly safer code is to clone the object:
Code:
SetProperty("CretPose", "Frac", 0.6);
local obID = Object.BeginCreate(self);
Object.EndCreate(obID);
Object.Destroy(self);
This will lose the links of course. For a repeatable setup you could copy the links to/from the clone before destroying the original.