Gun Game Script
224,466 Views
-
using { /Fortnite.com/Characters } using { /Fortnite.com/Devices } using { /Fortnite.com/Game } using { /Fortnite.com/Playspaces } using { /Verse.org/Simulation } using { /UnrealEngine.com/Temporary/Diagnostics } basic_gun_game_device := class(creative_device): @editable IGD_WeaponList:item_granter_device = item_granter_device{} @editable EGD_Win:end_game_device = end_game_device{} var PlayerElims:[player]int = map{} var ElimsToWin:int = 0 OnBegin<override>()<suspends>:void= Setup() Setup()<suspends>:void= set ElimsToWin = GetWeaponListLength() GetPlayspace().PlayerAddedEvent().Subscribe(TrackElims) for (Player : GetPlayspace().GetPlayers()) do TrackElims(Player) TrackElims(Player:player):void= IGD_WeaponList.GrantItemIndex(Player, 0) if (FortCharacter:fort_character = Player.GetFortCharacter[]): FortCharacter.EliminatedEvent().Subscribe(OnCharacterEliminated)
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.