While we're on the subject of needed functions, here's a few I'd like:

call OpenBookUI((CHARACTERGUID)_Character, (ITEMGUID)_Item)
I want to be able to programmatically open books.

I can then replace the "loot book -> open inventory -> read book" process with simply "read book when looted."

In fact, it would be nice if we could programmatically execute all root template use actions.

event ItemMovingFromTo((ITEMGUID)_Item, (GUIDSTRING)_FromObject, (GUIDSTRING)_ToObject, (INTEGER)_IsTrade)
ItemMovedFromTo has an issue in the trade UI where: if I identify an item after the item has been moved, the tooltip does not update.

So, either the trade UI needs to be listening for item/tooltip changes, or we need to be able to do something to that item in transit.



LSLib Contributor | My Mods: DOS2, DOS2DE | 560K Steam Workshop Subscribers