I’m coming across quite a few mistakes. That’s to be expected at this point, but I can’t see a way to give feedback. Feels like these could be mopped up quickly if there were a way to comment on the pages.
I’ll give one example here:
Code block given -
using { /Verse.org/Simulation }
using { /Fortnite.com/Devices }
spawner_button := class<concrete>(creative_device):
@editable
Button:button_device = button_device{}
@editable
ItemSpawner:item_spawner_device = item_spawner_device{}
OnBegin<override>()<suspends> : void =
Button.InteractedWithEvent.Subscribe(OnButtonInteractedWith)
OnButtonInteractedWith(Player:agent) : void =
ItemSpawner.SpawnItem(Player)
Code should be -
using { /Verse.org/Simulation }
using { /Fortnite.com/Devices }
my_first_Device := class(creative_device):
@editable
Button:button_device = button_device{}
@editable
ItemSpawner:item_spawner_device = item_spawner_device{}
OnBegin<override>()<suspends> : void =
Button.InteractedWithEvent.Subscribe(OnButtonInteractedWith)
OnButtonInteractedWith(Player:agent) : void =
ItemSpawner.SpawnItem()
Class name should match file name, and SpawnItem
takes no arguments.