1. Welcome to the Starbound support forums. Please check the support FAQs before posting: http://playstarbound.com/support

Bug/Issue animation.hasState

Discussion in 'Starbound Support' started by Degranon, May 9, 2018.

  1. Degranon

    Degranon Scruffy Nerf-Herder

    Probably not a bug but a request, but...

    If you try to use animator.setAnimationState with non existing state, your game will crash to death.
    And there's no possible ways for now to access the animation file without having the path stored somewhere, which is not nice.

    So, having something like animation.hasState would be a great additional check to have.
     

Share This Page