Hide Player When Holding Specific Item
91,835 Views
-
using { /Fortnite.com/Devices } using { /Fortnite.com/Characters } using { /Verse.org/Simulation } using { /UnrealEngine.com/Temporary/Diagnostics } invisible := class(creative_device): @editable cond_btn: conditional_button_device = conditional_button_device{} @editable mutator: mutator_zone_device = mutator_zone_device{} HoldingEvent( Agent : agent) : void = if(FortCharacter := Agent.GetFortCharacter[]): if(cond_btn.IsHoldingItem[Agent]): FortCharacter.Hide() else: FortCharacter.Show() OnBegin<override>()<suspends>: void = loop: mutator.Enable() mutator.AgentEntersEvent.Subscribe(HoldingEvent) Sleep(0.1) mutator.Disable() Sleep(0.1)
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.