Yeah I can help you with the array. I’m not the best at verse which is why I’m on the dev forums trying to help people. You learn a lot faster by helping others <3
Soo… I’ll write a snippet of what I would assume the array would look for after your devices are tagged.
Full disclosure I put this together in about 5-10 minutes half asleep and I didn’t even test it lol. But I believe this should work… It will also give you a good idea of where to start if it doesn’t.
#Imports
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /Verse.org/Random}
using { /Fortnite.com/Characters }
using { /Fortnite.com/Game }
using { /Verse.org/Simulation/Tags }
using { /UnrealEngine.com/Temporary/Diagnostics }
using { /UnrealEngine.com/Temporary/SpatialMath }
tags
volume_area := class(tag){}
#GameManager
GM := class(creative_device):#GameStart
OnBegin():void=#Initiation of devices InitVolumes()volume Device
InitVolumes():void=
Volumes:= GetCreativeObjectsWithTag(volume_area{})
for (Obj : Volumes):
if (Volume:= volume_device[Obj]):
Volume.AgentEntersEvent.Subscribe(OnPlayerEntered)OnPlayerEntered(Agent:agent):void= if (Player := player[Agent]): Print("Player Entered Area, Killing player...") KillPlayer(Player) KillPlayer(Player:player):void= if: Agent := agent[Player] Fort := Agent.GetFortCharacter[] then: Fort.Damage(10000.0)