Create Prop
Create a handheld prop at a position when a button is clicked.
Introduction
Create Prop creates a handheld prop in the world. It runs Environment.Create Handheld Prop, so a new prop appears at the picked position under the world object. This is how a button creates a prop. caption Create a prop when a button is clicked: When button is clicked by Player -> Create A as the Return Value of Executing (System, Environment.Create Handheld Prop Generate Prop 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 Handheld Prop. Pick the prop to generate, set the position, and set the Parent Object to Get.world.object.
When to use it
A button that creates a prop. Giving the player a prop when they do something. Spawning props in the world at runtime.
Notes
The template is Create Prop, the command in the game is Create Handheld Prop. The prop and position are shown as icons only, pick them in the script.