Create Model
Create a model at a position when a button is clicked.
Introduction
Create Model creates a model in the world. It runs Environment.Create Model, so a new model appears at the picked position under the world object. This is how a button creates a model. caption Create a model when a button is clicked: When button is clicked by Player -> Create A as the Return Value of Executing (System, Environment.Create Model Generate Model at Position Parent Object Get.world.object)
Steps
Add the event When button is clicked by Player. Add a Create command under it. Set the target to System and pick Environment.Create Model. Pick the model to generate, set the position, and set the Parent Object to Get.world.object.
When to use it
A button that creates a model. Spawning a model when the player does something. Adding objects to the world at runtime.
Notes
The model and position are shown as icons only, pick them in the script. The created model is stored in the variable A, use it to change the model later.