Pretty much my question is above. Im working my way to learn how to code with verse from fresh start but when I try to run the example code on Lesson 5 practice Time!. My character is not taking the 50 damage. Is there is any sort of update that the code no longer work or what I am missing?
I made sure to respect the places (Tab button) where the code sould be so it can run like the example, and also I made few adjustments like some youtube videos that seems that it went successful, but still Im not getting the results so I am stuck with the Lesson 5 example:
using { /Fortnite.com/Devices }
using { /Fortnite.com/Characters }
using { /Fortnite.com/Playspaces }
using { /Verse.org/Simulation }
using { /Verse.org/Verse }
hello_world_device := class(creative_device):
# Runs when the device is started in a running game
OnBegin<override>()<suspends>:void=
Playspace: fort_playspace = GetPlayspace()
AllPlayers: []player = Playspace.GetPlayers()
if (FirstPlayer : player = AllPlayers[0]):
if (FortniteCharacter : fort_character = FirstPlayer.GetFortCharacter[]):
FortniteCharacter.Damage(50.0)
Im using Visual Studio for this as offered to install by the UEFN platform. If the example is confusing you can refer to the lesson 5 practice time page. I dont know how to clip a picture in the computer Im using right now since is too old (this is not the one Im using for Visual studio nor UEFN, this is and old 2017 Pc windows 7, the one Im using it actually a gaming PC so its really up to date)