Memory Sequence Device
91,435 Views
-
using { /Fortnite.com/Devices } using { /Verse.org/Random } using { /Verse.org/Simulation } using { /Verse.org/Simulation/Tags } using { /UnrealEngine.com/Temporary/Diagnostics } # This tag is used to identify devices that are part of the memory sequence. memory_sequence_item_tag := class(tag){} # We use a creative device to store and use both the "interaction" device and the "viewer" device in a single device # that we can find via gameplay tags. # We must do this since there must be a 1:1 relationship between the device the player interacts with and the device that # is used to "show" the sequence. # Retrieving devices with gameplay tags doesn't guarantee a specific order, which means that the nth interaction device might not # match the nth viewer device. For example, the third button might not visually match the third cinematic sequence device. memory_sequence_item := class(creative_device): # We use a button to detect the player interacting with the memory_sequence_item. # You can use any other device that works for your experience and modify how you signal ItemInteractedEvent accordingly. @editable Button:button_device = button_device{} # We use a cinematic_sequence_device to show the memory_sequence_item activation. # You can use any other device that works for your experience and modify Play accordingly. @editable Cinematic:cinematic_sequence_device = cinematic_sequence_device{}
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.