Toy.Create
Creates an Admin Toy
Syntax
Toy.Create toy_type
Returns
reference to AdminToy object
Arguments
| Name | Required | Type | Description |
|---|---|---|---|
toy type | Yes | One of the following options: > primitiveObject (Returns a reference to PrimitiveObjectToy object) > lightSource (Returns a reference to LightSourceToy object) > shootingTarget (Returns a reference to ShootingTargetToy object) > interactable (Returns a reference to InteractableToy object) > camera (Returns a reference to CameraToy object) > capybara (Returns a reference to CapybaraToy object) > text (Returns a reference to TextToy object) | Options: primitiveObject, lightSource, shootingTarget, interactable, camera, capybara, text |
Details
Remember to also TP the created toy somewhere in order to see it.
On a running server
Use serhelp Toy.Create to inspect the reference generated by your installed SER version.