TTLG|Jukebox|Thief|Bioshock|System Shock|Deus Ex|Mobile
Results 1 to 2 of 2

Thread: Creature Pose->Frac not modifiable at runtime?

  1. #1
    Member
    Registered: Aug 2005

    Creature Pose->Frac not modifiable at runtime?

    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.

  2. #2
    Member
    Registered: Jan 2001
    Location: 24463 Cells
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •