This commit is contained in:
Alexander Bock
2021-05-18 13:17:02 +02:00
+8 -7
View File
@@ -175,20 +175,21 @@ scripting::LuaLibrary Time::luaLibrary() {
&luascriptfunctions::time_togglePause,
{},
"",
"Toggles the pause function, i.e. temporarily setting the delta time to 0"
" and restoring it afterwards"
"Toggles the pause function, i.e. temporarily setting the delta time to "
"0 and restoring it afterwards"
},
{
"interpolateTime",
&luascriptfunctions::time_interpolateTime,
{},
"{number, string} [, number]",
"Sets the current simulation time to the "
"specified value. If the parameter is a number, the value is the number "
"Sets the current simulation time to the specified value. "
"If the first parameter is a number, the target is the number "
"of seconds past the J2000 epoch. If it is a string, it has to be a "
"valid ISO 8601-like date string of the format YYYY-MM-DDTHH:MN:SS. "
"Note: providing time zone using the Z format is not supported. UTC is "
"assumed."
"valid ISO 8601-like date string of the format YYYY-MM-DDTHH:MN:SS "
"(Note: providing time zone using the Z format is not supported. UTC is "
"assumed). If a second input value is given, the interpolation is done "
"over the specified number of seconds."
},
{
"interpolateTimeRelative",