Lets say I have 100 Item Spawner devices.
When the game starts, how do I loop through all of them and assign each to a trigger?
Sorry if this is a dumb question, I’m new to Verse. Thanks in advance for any help!
Lets say I have 100 Item Spawner devices.
When the game starts, how do I loop through all of them and assign each to a trigger?
Sorry if this is a dumb question, I’m new to Verse. Thanks in advance for any help!
Make an array that is editable, make the object type in the array “item spawner device” and then you would have to link all those. Other than that, there is no current way to find all the devices in the game.
I mean you also can use Tags, this is what I do with vehicle spawners to subscribe to all enter/exit events
Thank you! That should do it!!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.