Closed xBarkDog closed 1 year ago
Did you try this in unstable? I get an error when I use it in stable. Edit: there was something wrong with My setup
Should probably be a note on the page that the blackbox spawns with smooth faces on all its sides because i had the same problem (in unstable too)
BlackBox:GetLogs() { Desc (the description of the event) Event (the name of the event TimeAgo (time since in seconds) }
i'll add this when i figure out all of the event types
hexcede made a list of all the events
A part that logs information about the region it is in while active.
RegionLog BlackBox:GetLogs()
Returns a [[RegionLog]].
Logged event history of a region.
string Event
The type of event. (HyperDrive, Aliens, Spawned, Death, ExitRegion, Poison, Irradiated, Suffocating, Freezing, Melting)
string Desc
Full description of the event.
number TimeAgo
The time that has passed since the event has taken place.
what it gives![image](https://user-images.githubusercontent.com/66143527/200104126-6c062d69-0c6a-4157-9a1f-ae568e3cec9c.png)
how to use BlackBox:GetLogs()
code example