Methods
init
true to keep the effect active, or false to disable it.
update
advance
seconds is the time delta since the last frame.
Return true to keep the effect active, or false to disable it.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
initinit(self: T, context: Context) -> boolean
true to keep the effect active, or false to disable it.
-- Called once when the script initializes.
function init(self: MyPathEffect, context: Context): boolean
-- Return false to stop the script.
return true
end
updateupdate(self: T, path: PathData, node: NodeReadData) -> PathData
function update(self: MyPathEffect, inPath: PathData): PathData
local path = Path.new()
return path
end
advanceadvance(self: T, seconds: number) -> boolean
seconds is the time delta since the last frame.
Return true to keep the effect active, or false to disable it.
function advance(self: MyPathEffect, seconds: number): boolean
return false
end
Was this page helpful?