Skip to content
AEOWUN
Docs Menu

Attributes

Add named values to Cells and Actors.

Read and write

const door = cell.get(12345)
if door != nil {
    debug.log(door.attributes["locked"])
    door.attributes["locked"] = true
}

Authored Cell Attributes support numbers, booleans, and strings. Set their saved values in the editor.

Temporary changes

Cell Attribute changes during Play are temporary. Assigning nil removes the temporary override and restores the saved value. Use Save data for progress that must survive a game restart. See Cell properties and Actor properties.

[BETA] marks features newer than the current public release. Current release: 0.8.0.