Jump to content

Recommended Posts

Posted

Usually you can specify the speed already when starting the animation. I am not sure what this native actually changes, perhaps just the ped's running anim?

Posted

I am not sure what it changes, but I don't think you can. What are you seeing when yo set it to like 0.1f?

Posted

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)?

Posted

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);

  • Like 1
Posted

Perhaps it only works for animations played via the task natives? Might be worth a shot.

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...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...