Tag Utilities
Tag Utilities
Convenience wrappers around gameplay tags: find tagged objects, find by any of several tags, and cast results to buttons / lights.
Original, compile-verified Verse by Bizanator (Biloxi Studios). Clean-room sample you can drop into a UEFN project and adapt.
-
# Tag Utilities — Biloxi Studios Inc. # # Convenience wrappers around Verse gameplay tags for finding placed objects and # devices at runtime, plus casting helpers. Gameplay tags let you decouple your # logic from hard device references — tag the actors in the editor, then discover # them in code. # # Teaches: FindCreativeObjectsWithTag, looping over multiple tags, the failable # device cast `customizable_light_device[Object]`, and collecting cast results # with a `for` comprehension. using { /Fortnite.com/Devices } using { /Verse.org/Simulation } using { /Verse.org/Simulation/Tags } tag_utils<public> := module: # Return every creative object carrying SearchTag. A reusable creative_device # is needed to perform the lookup; pass one in to avoid allocating per call. # FindCreativeObjectsWithTag yields a generator, so a `for` collects it into # an array. FindWithTag<public>(Finder:creative_device, SearchTag:tag):[]creative_object_interface = for (Object : Finder.FindCreativeObjectsWithTag(SearchTag)): Object
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.