Skip to content

Script API level

Every place has a script API level, the Luduvo release whose script behaviour its scripts were written against. A place keeps its level through every save, so an existing published game behaves the same after a Luduvo update.

Studio plugins run at the level of the open place.

A place gets every change at or below its level.

Level 58

  • e.Visible = false hides the entity and all of its descendants, not only the entity.
  • Writing a field of a component the entity does not have raises an error instead of adding the component; call e:Add(Component.X) first.
  • Scripts run without the compatibility module: a name removed at 58 raises <old> was removed in script API 58; use <replacement>.
  • Scripts have no attr table, GetAttributeChangedSignal or AttributeChanged; upgrading converts the place's attributes to components.
  • Store and CloudStore refuse NaN or infinity in a number, Vector3 or Vector2, instead of storing it.