AP_Scripting: expand to 6 SCR_USER parameters

This commit is contained in:
Andrew Tridgell
2021-11-30 17:09:20 +11:00
parent 209fcf3cbb
commit 140adc126a
2 changed files with 13 additions and 1 deletions

View File

@@ -106,6 +106,18 @@ const AP_Param::GroupInfo AP_Scripting::var_info[] = {
// @User: Standard
AP_GROUPINFO("USER4", 8, AP_Scripting, _user[3], 0.0),
// @Param: USER5
// @DisplayName: Scripting User Parameter5
// @Description: General purpose user variable input for scripts
// @User: Standard
AP_GROUPINFO("USER5", 10, AP_Scripting, _user[4], 0.0),
// @Param: USER6
// @DisplayName: Scripting User Parameter6
// @Description: General purpose user variable input for scripts
// @User: Standard
AP_GROUPINFO("USER6", 11, AP_Scripting, _user[5], 0.0),
// @Param: DIR_DISABLE
// @DisplayName: Directory disable
// @Description: This will stop scripts being loaded from the given locations