Scheduler:set_system_data
Patches data to a system
Arguments
id
number
The system id to obtain information from. This system must be registered, otherwise an error will be thrown.
settings
SystemData
A dictionary of settings that will overwrite the existing settings. This is patched on top of the system's existing data where the provided values replace the old values.
luau
scheduler:set_system_data(
id: number,
settings: SystemData
)
luau
type SystemData = {
name: string?,
phase: number?,
paused: boolean?
}