Guardian And Bodyguard NPCs
using { /Fortnite.com/Devices }
using { /Fortnite.com/AI }
using { /Fortnite.com/Game }
using { /Fortnite.com/Teams }
using { /Fortnite.com/Characters }
using { /Verse.org/Simulation }
using { /Verse.org/Random }
using { /UnrealEngine.com/Temporary/Diagnostics }
using {/UnrealEngine.com/Temporary/SpatialMath}
# See https://dev.epicgames.com/documentation/en-us/uefn/create-your-own-device-in-verse for how to create a verse device.
# A Verse-authored creative device that can be placed in a level
bodyguard_device := class(creative_device):
@editable
VIPConfig: bodyguard_vip = bodyguard_vip{}
@editable
BodyguardConfig: bodyguard_config = bodyguard_config{}
@editable
BackupLimit: backupoptions = backupoptions.SpawnOnly
@editable
CustomBackupLimit: int = 1
@editable
Bodyguards: int = 2
@editable
FollowMinRadius: float = 200.0
@editable
FollowMaxRadius: float = 500.0
var GuardTeamMap: [agent]team = map{}
var GuardHealthMap: [agent]float = map{}
var GuardShieldMap: [agent]float = map{}
var BackupCalled: int = 0
var VIP: ?agent = false
var UnleashedGuards: []agent = array{}
var LeashedGuards: []agent = array{}
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.