Jump to content

Featured Replies

Posted

I would like to slow down certain animations but cant get this native to work:

SET_ANIM_RATE

Has anyone tinkered with it yet and knows how to use it?

  • Author

I thought I could set the animation rate in general with this method (make the NPC move slower or faster).

  • Author

Nothing changes. I tried to fill it with (ENTITY, 0.1f, 0, 1) and (ENTITY, 0.1f, 0, 0), but maybe I have to insert the hash of an animation (which I dont have)?

It does not look like it takes a hash. Those are few examples from the game scripts:

 

    Line 11070:         TASK::SET_ANIM_RATE(iLocal_38, 0.75f, 0, false);
    Line 11071:         TASK::SET_ANIM_RATE(iLocal_39, 0.75f, 0, false);
    Line 11080:         TASK::SET_ANIM_RATE(iLocal_38, 0.5f, 0, false);
    Line 11081:         TASK::SET_ANIM_RATE(iLocal_39, 0.5f, 0, false);

 

    Line 1459:         TASK::SET_ANIM_RATE(iLocal_1284, 1f, 0, false);
    Line 1463:         TASK::SET_ANIM_RATE(iLocal_1285, 1f, 0, false);
    Line 17862:                         TASK::SET_ANIM_RATE(iLocal_1284, 0f, 0, false);
    Line 17863:                         TASK::SET_ANIM_RATE(iLocal_1285, 0f, 0, false);

  • Author

Ah, so you can slow down or speed up a certain task, I guess.

Thanks for the insight!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...