/schedule
Command
Schedules an action to be executed once an area is loaded, or after a certain amount of time.
Permission Level | Game Directors |
---|---|
Requires Cheats? | Yes |
Usage
Schedule function call, delay time int
/schedule on_area_loaded add <from: x y z> <to: x y z> <function: filepath>
Schedule a function call with a delay using a time integer.
Schedule function call, delay time ticks
/schedule on_area_loaded add circle <center: x y z> <radius: int> <function: filepath>
Schedule a function call with a delay using a time in game ticks.
Schedule function call, delay time ticks
/schedule on_area_loaded add tickingarea <name: string> <function: filepath>
Schedule a function call with a delay using a time in game ticks.
Arguments
center: x y z
: position Avector
[x y z] that specifies the center of a defined loaded area.from: x y z
: position Avector
[x y z] that specifies the rectangular area to load, along withto
.function
: filepath Required. The function to run.name
: string Astring
that defines thetickingarea
where the command is added.radius
: int Aninteger
that specifies the area as the number of chunks loaded in. Default:0
.to: x y z
: position A vector [x y z] that specifies the rectangular area to load, along withfrom
.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for