Skip to main content

sm.scriptableObject

Associated object type: ScriptableObject

ScriptableObject creation.

Functions

createScriptableObject

sm.scriptableObject.createScriptableObject( uuid, params, world )
Server-Only

Creates a new Scriptable Object.

Arguments:
  • uuid [ Uuid ]: The object's uuid.
  • params [ any ]: Extra data. Available as self.params in the object's script. Optional.
  • world [ World ]: The world this script belongs to, for world dependent api calls. Defaults to sm.world.ids.noWorld.
Returns: