Pummel Party

Pummel Party

Destroy friendships in the Pummel Party Workshop
Build new Boards and Minigames! Share your creations and discover other pummelers friendship ruining handiwork!
Learn More
Spoon 3 3 Jan, 2023 @ 2:52am
Anyone figure out how to implement RNG?
Need to figure out how to create RNG. Such as spawning an asset at a random point, or selecting a random asset from a pool of assets.
< >
Showing 1-1 of 1 comments
kevN 3 3 Jan, 2023 @ 1:16pm 
The Spawner component[workshop.pummelparty.com] is what you're probably looking for. It can spawn a random prefab at a random given location target.

However, if using prefab objects, the Spawn on Destruction option is broken as of right now (as noted in Known Issues). Though, it works just fine with prefab items that the players pick up. I'm hoping this gets fixed because I need this mechanic to work for a mod I'm working on.
< >
Showing 1-1 of 1 comments
Per page: 1530 50