space_ex v0.8.0 SpaceEx.KerbalAlarmClock
This service provides functionality to interact with Kerbal Alarm Clock.
Link to this section Summary
Functions
Get the alarm with the given name, or nil
if no alarms have that name
A list of all the alarms
Get a list of alarms of the specified type
Whether Kerbal Alarm Clock is available
Create a new alarm and return it
Link to this section Functions
Get the alarm with the given name, or nil
if no alarms have that name.
If more than one alarm has the name, only returns one of them.
name— Name of the alarm to search for.
Returns: a reference to a SpaceEx.KerbalAlarmClock.Alarm object
A list of all the alarms.
Returns: [alarm, ...], where alarm is a reference to a SpaceEx.KerbalAlarmClock.Alarm object
Get a list of alarms of the specified type.
type— Type of alarm to return.
Returns: [alarm, ...], where alarm is a reference to a SpaceEx.KerbalAlarmClock.Alarm object
Whether Kerbal Alarm Clock is available.
Returns: true or false
Create a new alarm and return it.
type— Type of the new alarm.name— Name of the new alarm.ut— Time at which the new alarm should trigger.
Returns: a reference to a SpaceEx.KerbalAlarmClock.Alarm object