Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions LuaCutscenes/Assets/LuaCutscenes/helper_functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,14 @@ function helpers.getRoomCoordinatesOffset(x, y)
end
end

--- Get a cutscene node with the given name.
-- Can be referenced to obtain X and Y coordinates at node position.
-- @string name The name of the desired cutscene node entity.
-- @treturn CutsceneNode The cutscene node.
function helpers.getNode(name)
return celeste.CutsceneNode.Find(tostring(name))
end

--- Set session flag.
-- @string flag Flag to set.
-- @bool value State of flag.
Expand Down