autoloot_func
Differences
This shows you the differences between two versions of the page.
Previous revision | |||
— | autoloot_func [2022/09/03 23:25] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======Scripting - Autoloot control function====== | ||
+ | Here can find some information about Enhanced Scripting function to control autoloot engine by script! | ||
+ | |||
+ | =====Get Loot List Contents===== | ||
+ | |||
+ | {|style=" | ||
+ | |style=" | ||
+ | |- style=" | ||
+ | |**Syntax** | ||
+ | |style=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- style=" | ||
+ | |**Returns** | ||
+ | |List < AutoLootItem > | ||
+ | |- | ||
+ | |**In Object:** | ||
+ | |AutoLoot { Name, Graphics, Color } | ||
+ | |- style=" | ||
+ | |**Parameters: | ||
+ | |string NameOfLootList | ||
+ | |- style=" | ||
+ | |**Example** | ||
+ | |< | ||
+ | items = AutoLoot.GetList(" | ||
+ | for autoItem in items: | ||
+ | Misc.SendMessage(" | ||
+ | </ | ||
+ | |} | ||
+ | |||
+ | =====Check Status===== | ||
+ | |||
+ | {|style=" | ||
+ | |style=" | ||
+ | |- style=" | ||
+ | |**Syntax** | ||
+ | |style=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- style=" | ||
+ | |**Returns** | ||
+ | |bool | ||
+ | |- | ||
+ | |**In Object:** | ||
+ | |AutoLoot | ||
+ | |- style=" | ||
+ | |**Parameters: | ||
+ | |none | ||
+ | |||
+ | |} | ||
+ | =====Start===== | ||
+ | |||
+ | {|style=" | ||
+ | |style=" | ||
+ | |- style=" | ||
+ | |**Syntax** | ||
+ | |style=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- style=" | ||
+ | |**Returns** | ||
+ | |void | ||
+ | |- | ||
+ | |**In Object:** | ||
+ | |AutoLoot | ||
+ | |- style=" | ||
+ | |**Parameters: | ||
+ | |none | ||
+ | |||
+ | |} | ||
+ | |||
+ | ===== Stop ===== | ||
+ | |||
+ | {|style=" | ||
+ | |style=" | ||
+ | |- style=" | ||
+ | |**Syntax** | ||
+ | |style=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- style=" | ||
+ | |**Returns** | ||
+ | |void | ||
+ | |- | ||
+ | |**In Object:** | ||
+ | |AutoLoot | ||
+ | |- style=" | ||
+ | |**Parameters: | ||
+ | |none | ||
+ | |||
+ | |} | ||
+ | |||
+ | =====Change List===== | ||
+ | |||
+ | {|style=" | ||
+ | |style=" | ||
+ | |- style=" | ||
+ | |**Syntax** | ||
+ | |style=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- style=" | ||
+ | |**Returns** | ||
+ | |void | ||
+ | |- | ||
+ | |**In Object:** | ||
+ | |AutoLoot | ||
+ | |- style=" | ||
+ | |**Parameters: | ||
+ | |ListName | ||
+ | |||
+ | |} | ||
+ | |||
+ | =====Custom List===== | ||
+ | |||
+ | {|style=" | ||
+ | |style=" | ||
+ | |- style=" | ||
+ | |**Syntax** | ||
+ | |style=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- style=" | ||
+ | |**Returns** | ||
+ | |void | ||
+ | |- | ||
+ | |**In Object:** | ||
+ | |AutoLoot | ||
+ | |- style=" | ||
+ | |**Parameters: | ||
+ | |AutoLootItem ItemList, double DelayGrabInMilliSecond, | ||
+ | |||
+ | |} | ||
+ | |||
+ | ===== SetNoOpenCorpse ===== | ||
+ | |||
+ | {|style=" | ||
+ | |style=" | ||
+ | |- style=" | ||
+ | |**Syntax** | ||
+ | |style=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- style=" | ||
+ | |**Returns** | ||
+ | |bool - the previous setting | ||
+ | |- | ||
+ | |**In Object:** | ||
+ | |AutoLoot | ||
+ | |- style=" | ||
+ | |**Parameters: | ||
+ | |bool True / False | ||
+ | |- style=" | ||
+ | |**Example** | ||
+ | |< | ||
+ | oldValue = AutoLoot.SetNoOpenCorpse(True) | ||
+ | </ | ||
+ | |} | ||
+ | |||
+ | |||