Verse Library verse

13 Snippet

Shows how to declare a device and conditionally check it in one expression.

extracted-snippets/documentation/fortnite/verse-glossary/13-snippet.verse

# Source URL: https://dev.epicgames.com/documentation/fortnite/verse-glossary
# Local doc:  epic-docs/documentation/fortnite/verse-glossary.md
if (LightDevice := customizable_light_device[TaggedDevice]):
LightDevice.TurnOn()

Comments

    Sign in to vote, comment, or suggest an edit. Sign in