This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
mmoalt_followcommander [2017/05/26 15:01] – [mmoalt_FollowCommander] kawengod | mmoalt_followcommander [2019/11/21 22:38] – [Public API] mmoalt | ||
---|---|---|---|
Line 6: | Line 6: | ||
</ | </ | ||
- | {{ : | + | |
+ | {{ : | ||
==== Follow any commander around the map! ==== | ==== Follow any commander around the map! ==== | ||
Line 108: | Line 109: | ||
* Grind | * Grind | ||
* Gather | * Gather | ||
- | * mmoalt_GatherMode | + | * mmoalt_GatherMode |
==== Commander ==== | ==== Commander ==== | ||
Line 135: | Line 136: | ||
You still need a proper mesh for following.\\ | You still need a proper mesh for following.\\ | ||
Having a proper mesh is your responsibility. | Having a proper mesh is your responsibility. | ||
- | If you don't want the bot to follow the commander in certain areas, you need to remove that area from the mesh! | + | \\ |
+ | If you don't want the bot to follow the commander in certain areas, you need to remove that area from a mesh yourself! | ||
</ | </ | ||
<WRAP clear></ | <WRAP clear></ | ||
Line 154: | 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.\\ | ||
+ | |||
+ | '' | ||
+ | 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.**\\ | ||
+ | |||
+ | '' | ||
+ | Should be self explainatory.\\ | ||
+ | |||
+ | '' | ||
+ | Valid types are in FollowCommanderAPI.dropDownSettings.FollowType.\\ | ||
+ | |||
+ | '' | ||
+ | Valid modes are in FollowCommanderAPI.dropDownSettings.FollowMode.\\ | ||
+ | |||
+ | '' | ||
+ | Follow a new person when the FollowType is set to " | ||
+ | |||
+ | |||
+ | **All functions that affect settings will call FollowCommanderAPI: |