Is it possible to get the fort_character functions from a player object? There seems to be a function called GetFortCharacter but I can’t figure out how it should be called.
Similarly, GetPlayers seems to be wrapped in Playspaces now - how can the current playspace be fetched?
using { /Fortnite.com/Devices }
using { /Fortnite.com/Characters }
using { /Verse.org/Native }
using { /Verse.org/Simulation }
using { /EpicGames.com/Temporary/Diagnostics }
hello_world_device := class(creative_device):
# Runs when the device is started in a running game
OnBegin<override>()<suspends>:void=
Sleep (2.0)
# Get all the players in the game and apply 25 damage
Players:[]player := Self.GetPlayspace().GetPlayers()
for(P : Players):
if (FortChar := P.GetFortCharacter[]):
FortChar.Damage(25.0)
I’m very interested in this. I’m currently trying to make a feedback system that would send different notifications based on which team your on. Trying to figure out how to play different audio devices depending on what team the client is on
EDIT: I figured out a way to do this using the available tools by the way. I’m using audio players devices that only send audio to their registered players, and registering the agents through my notification/announcer system in Verse