Modding Help Object referencing frames of another object?

Discussion in 'Starbound Modding' started by terminalcaesura, Oct 12, 2019.

  1. terminalcaesura

    terminalcaesura Void-Bound Voyager

    This question is a long shot, Is there a way to have an object or entity to get and reference the sprite sheet and frame data of another object (which it identifies by lua script) and then be able to integrate it into it's own code?

    So essentially I want to end up with an object or entity script that has the ability to:
    1)Identify an object in the world
    2)Get the object's animation/frame data
    3)Re patch it's own object code to use the new data

    Bonus point if the script can adapt between different animation types, i.e. an object referencing a monster part, or a monster referencing an armor, or an object referencing an adjacent block​

    'This is totally open ended, and any and all ideas are welcome

Share This Page