Jump to content

[LE] [Need help] [Animation][DragonScript] Trouble with animation on TranslateTo


Recommended Posts

Hello community.

I need a litle help with understanding, what is wrong.

There is c++ plugin writed with DragonScript, and here is trouble with SplineTranslateTo and TranslateTo - no moving animation, npcs is just sliding.

I'm trying many things, but no luck.

ObjectReference::SetMotionType(npc, 4, true);
ObjectReference::SetAnimationVariableFloat(npc, "Speed", 1); // no sense at changing
ObjectReference::SetAnimationVariableFloat(npc, "SpeedWalk", 1); //same

And dat is doesn't work too:

Debug::SendAnimationEvent(i->second, "moveStart");

And one more: RemoveAllItems does not remove quest items:

ObjectReference::RemoveAllItems((TESObjectREFR*)Game::GetPlayer(), NULL, false, true);

Any solutions and advices will be realy good. Thanks.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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