Here can find some information about Enhanced Scripting function to control autoloot engine by script!
Get AutoLoot List Contents | |
Syntax | AutoLoot.GetList( string LootListName, getMinusOneItems=False ) |
Description: | |
Get a list of autoloot items, Graphics of -1 are only returned if getMinusOneItems is set to True | |
Returns | List < AutoLootItem > |
In Object: | AutoLoot { Name, Graphics, Color } |
Parameters: | string NameOfLootList |
Example |
items = AutoLoot.GetList("default") for autoItem in items: Misc.SendMessage("id: 0X{:x}".format(autoItem.Graphics))
|
Check AutoLoot Status | |
Syntax | AutoLoot.Status( ) |
Description: | |
Get a bool value of autoloot engine status, if running or not | |
Returns | bool |
In Object: | AutoLoot |
Parameters: | none |
Start AutoLoot | |
Syntax | AutoLoot.Start( ) |
Description: | |
Start autoloot engine. | |
Returns | void |
In Object: | AutoLoot |
Parameters: | none |
Stop AutoLoot | |
Syntax | AutoLoot.Stop( ) |
Description: | |
Stop autoloot engine. | |
Returns | void |
In Object: | AutoLoot |
Parameters: | none |
Change AutoLoot item list | |
Syntax | AutoLoot.ChangeList(string) |
Description: | |
Change list of autoloot item, List must be exist in autoloot GUI configuration | |
Returns | void |
In Object: | AutoLoot |
Parameters: | ListName |
Start Autoloot whit custom parameters | |
Syntax | AutoLoot.RunOnce(AutoLootItem, int, Filter) |
Description: | |
Start autoloot with specific parameters: AutoLootItem is a list type for item, delay in second for grab and filter for search on ground | |
Returns | void |
In Object: | AutoLoot |
Parameters: | AutoLootItem ItemList, double DelayGrabInMilliSecond, Filter FilterForSearch |
Temporarily change NoOpenCorpse setting | |
Syntax | AutoLoot.SetNoOpenCorpse( bool ) |
Description: | |
Temporarily set the NoOpenCorpse flag on the AutoLooter. Change not persisted. | |
Returns | bool - the previous setting |
In Object: | AutoLoot |
Parameters: | bool True / False |
Example |
oldValue = AutoLoot.SetNoOpenCorpse(True)
|