When Prop Refreshes
Fires when a spawned prop refreshes, a new prop appears after the previous one was used or removed.
Introduction
When Prop Refreshes is an event in the Prop Spawner group of World Events. It fires when a spawned prop refreshes, a new prop appears after the previous one was used or removed. Like every event, it does nothing by itself. It waits for the right moment, then runs all the actions connected to it. Use it when you want something to happen automatically as soon as the prop spawner refreshes its prop. This event belongs to the Prop Spawner component. Open the Prop Spawner component guide to see everything the component itself can do. Refresh keeps spawners alive: this event fires each time the spawner restocks its prop, sitting between When Prop is Added on first spawn and When Prop is Picked Up when a player collects. Spawn intervals and limits are configured in the Prop Spawner guide. When Prop Refreshes event in the World Editor Image The When Prop Refreshes event in the Script Editor. caption
Parameters
None This event has no parameters. The event fires on its own and everything you need is the object running this script. Parameter Description
How to Access
How to Access - Event When Prop Refreshes
How to Use
Select the object, press Propertie (the blue equalizer icon) in the bottom action menu, and scroll to the bottom of the properties panel. Press Add Component and pick the Prop Spawner component; its block stacks below the existing properties with the When Prop Refreshes event inside it. Press the + button below the event to add a script, then press Edit on that script to open the script editor and build the actions that should run when the event fires. Press Play and wait for the spawner to refresh the prop, then check that the actions run.
Example
When Prop Refreshes: Execute System Environment.Play Audio Audio 8bit Story, Volume 100 when-prop-refreshes-example.png Plays an audio cue whenever the prop spawner refreshes and places a new prop. caption
Common Uses
Play a spawn effect when a new prop appears Reset pickup counters for respawning items Update UI that tracks available props
Tip
Use it to keep arenas stocked: every refresh is a fresh chance for players to grab the prop.