Jump to content

[Papyrus] register already registered Animation Event


Recommended Posts

Hello, anyone knows what happens if you register for the same animation event multiple times, for example if you write:

RegisterForAnimationEvent(game.getplayer(), "SomeAnimationEvent")
RegisterForAnimationEvent(game.getplayer(), "SomeAnimationEvent")
RegisterForAnimationEvent(game.getplayer(), "SomeAnimationEvent")
RegisterForAnimationEvent(game.getplayer(), "SomeAnimationEvent")

I know that it will fire normally, I just want to know if it is bad for performance. Does papyrus know that one of the events is already registered or tries to register each of them?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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