Juggernaut Device
Juggernaut Device
Verse from mandeep/VerseMaxxing (Snippets/juggernaut_device.verse), by mandeep, under the Apache-2.0 license. Pinned at commit cf51d14d3. Compile-checked and ready to adapt for UEFN.
-
using { /Fortnite.com/Characters } using { /Fortnite.com/Devices } using { /Fortnite.com/Game } using { /Verse.org/Simulation } using { /UnrealEngine.com/Temporary/Diagnostics } juggernaut_device := class(creative_device): @editable SwordGranter: item_granter_device = item_granter_device{} SetJuggernaut(Player: agent)<suspends>:void= if (Character := Player.GetFortCharacter[]): Character.SetHealth(1.0) loop: Sleep(0.1) TeamCollection := GetPlayspace().GetTeamCollection() Teams: []team := TeamCollection.GetTeams() if (not Player.GetFortCharacter[]): break if (not Player.GetFortCharacter[].IsActive[]): break if (JuggernautTeam := Teams[8], not TeamCollection.IsOnTeam[Player, JuggernautTeam]): break if (Character := Player.GetFortCharacter[], Character.IsActive[]): if (Character.GetHealth() >= 100.0): SwordGranter.GrantItem(Player) break
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.