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 [2017/12/11 15:12] – mmoalt | mmoalt_followcommander [2019/11/21 22:50] – [Public API] mmoalt | ||
---|---|---|---|
Line 136: | 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 155: | 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 " | ||
+ | |||
+ | '' | ||
+ | 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: |