shavkacagarikia Posted March 29, 2017 Share Posted March 29, 2017 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 More sharing options...
registrator2000 Posted March 29, 2017 Share Posted March 29, 2017 The engine checks to see if the registration is in place and will not re-register if it is, so it is fine to call it multiple times. Link to comment Share on other sites More sharing options...
shavkacagarikia Posted March 29, 2017 Author Share Posted March 29, 2017 The engine checks to see if the registration is in place and will not re-register if it is, so it is fine to call it multiple times.Makes sense, thanks Link to comment Share on other sites More sharing options...
Recommended Posts