Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
In order to enable a particular event place the following code into a file in lua/client directory:
The example uses OnHotbarItemAttach. Use the name of relevant event.
Event triggers when item is attached to a hotbar, but also during hotbar refreshes, so it will be triggered before game starts, but also in some other cases, like when a backpack is equipped. A series of unattach/attach events might be triggered, but the an 'attach' will be triggered as last. It is definitely not optimal, but at this moment I don't know how to circumvent it. The event is triggered rarely enough to not have impact on performance even if slightly unoptimal.
The handler fnction receives the following parameters:
1) item - item being attached
2) slot - hotbar slot it is being attached to
3) slotIndex - index of the hotbar slot
4) slotDef
5) doAnim - will animation be performed. Generally the technical, 'refresh', triggers will have this value as false.
Enabling function: EggonsMU.config.enableEvent("OnHotbarItemAttach")
Event triggers when item is unattached from the hotbar, but also during hotbar refreshes, so it will be triggered before game starts, but also in some other cases, like when a backpack is equipped. A series of unattach/attach events might be triggered, but in case of the refresh actions an 'attach' will be triggered as last. If an item is really removed from the hotbar, the 'unattach' event will trigger as last, but it might trigger more than once. It is definitely not optimal, but at this moment I don't know how to circumvent it. The event is triggered rarely enough to not have impact on performance even if slightly unoptimal.
The handler fnction receives the following parameters:
1) item - item being unattached
Enabling function: EggonsMU.config.enableEvent("OnHotbarItemUnattach")
The handler function receives a single argument consisting of the following properties:
1) eventData = {
character,
item, -- item being transferred
srcContainer, -- source container
destContainer, -- destination container, can be replaced by a different one
cancel, -- set true to cancel action
}Example of use:
Enabling function: EggonsMU.config.enableEvent("OnBeforeItemTransfer")
The handler function receives the following arguments:
1 .character,
2. item, -- item being transferred
3. srcContainer, -- source container
4. destContainer, -- destination container
Enabling function: EggonsMU.config.enableEvent("OnAfterItemTransfer")
This event triggers once only when inventory tooltip is displayed for the first time for a particular item (A). If mouse is moved over another item (B) it will trigger again for that new item (B) and if mouse is moved over item A again - it will trigger for item A. However, if tooltip for item (A) is displayed and mouse is moved outside of inventory (tooltip disappears) and then moved again onto the same item (A), the event will not trigger again despite the tooltip being displayed.
The handler function receives the following arguments:
1. item, -- item being hovered over
2. ISToolTipInv_instance, -- instance of ISToolTipInv
Enabling function: EggonsMU.config.enableEvent("OnBeforeFirstInventoryTooltipDisplay")
These events trigger when new container gets activated in the inventory panes. It does not work with 'floor'.
OnDisplayContainerContents - triggers when either inventory or loot container gets activated
OnDisplayInventoryContainerContents - triggers for inventory containers only
OnDisplayLootContainerContents - triggers for loot containers only
The handler function receives the following arguments:
1. ItemsContainer, -- container being activated
Enabling functions:EggonsMU.enableEvent.OnDisplayContainerContents()
EggonsMU.enableEvent.OnDisplayLootContainerContents()
EggonsMU.enableEvent.OnDisplayInventoryContainerContents()
[U+274B]
:U+274B:
🗜