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 asself.params
in the object's script. Optional.world
[ World ]: The world this script belongs to, for world dependent api calls. Defaults tosm.world.ids.noWorld
.
- [ ScriptableObject ]: The created object.