This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
mmoalt_followcommander [2019/11/21 21:58] – [Public API] mmoalt | mmoalt_followcommander [2019/11/21 22:50] – [Public API] mmoalt | ||
---|---|---|---|
Line 156: | Line 156: | ||
===== Public API ===== | ===== Public API ===== | ||
- | FollowCommanderAPI = {\\ | + | '' |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | } | + | |
- | '' | + | '' |
+ | True if currently following, false otherwise.\\ | ||
+ | |||
+ | '' | ||
+ | Character id of the player you are following.\\ | ||
+ | |||
+ | '' | ||
+ | Current FollowCommander settings\\ | ||
+ | |||
+ | '' | ||
+ | Values from the drop down list in the gui.\\ | ||
+ | |||
+ | '' | ||
Reload all settings, set new random seed values and restart the botmode.\\ | Reload all settings, set new random seed values and restart the botmode.\\ | ||
'' | '' | ||
Change a FollowCommander setting. Valid keys are in FollowCommanderAPI.settings. Value has to be the same type as the old value.\\ | Change a FollowCommander setting. Valid keys are in FollowCommanderAPI.settings. Value has to be the same type as the old value.\\ | ||
+ | **Settings that have their own function can not be changed with this one.**\\ | ||
'' | '' | ||
Line 173: | Line 181: | ||
'' | '' | ||
- | Sets a new follow type and restarts FollowCommander. | + | Valid types are in FollowCommanderAPI.dropDownSettings.FollowType.\\ |
'' | '' | ||
- | Sets a new follow mode and restarts FollowCommander. Valid modes are in FollowCommanderAPI.dropDownSettings .\\ | + | Valid modes are in FollowCommanderAPI.dropDownSettings.FollowMode.\\ |
+ | |||
+ | '' | ||
+ | Follow | ||
+ | |||
+ | '' | ||
+ | Valid types are in FollowCommanderAPI.dropDownSettings.CombatAggressiveness.\\ | ||
+ | |||
+ | '' | ||
+ | Valid types are in FollowCommanderAPI.dropDownSettings.WayPointUsage.\\ | ||
+ | |||
+ | '' | ||
+ | Valid types are in FollowCommanderAPI.dropDownSettings.NoCommanderMode.\\ | ||
+ | |||
+ | **All functions that affect settings will call FollowCommanderAPI: |