Skip to content

Conversation

@ozmarie
Copy link

@ozmarie ozmarie commented Oct 22, 2025

Added the getNode(name) function, which gets a CutsceneNode from the scene that matches a given name.

Cutscene Nodes are both simple and useful. Currently there is no easy way to utilize them in a Lua Cutscene. This helper function adds in this ability, making this powerful tool much more accessible for the average modder.

Example, the following code is sufficient to make Madeline walk to a point matching the X position of a placed node

local node = getNode("ozma_testnode")
walkTo(node.X)

I did not make changes to the Documentation, but if this gets accepted, I'm happy to contribute a short summary for it.

Added the getNode(name) function, which gets a cutscene node from the scene with a given name. Useful for easily specifying a position to walk to, point a camera at, or use in some other way.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant