-
Постов
11 -
Зарегистрирован
-
Посещение
Тип контента
Загрузки
Форумы
Статьи и объявления
Гардероб
Маунты
Сообщения Allods Team
Трекер ошибок
Магазин
Галерея
Сообщения, опубликованные Lkledu
-
-
Hi, i'm doing my first addon and i want to put a button to send a whisper for the player's target. But i'm having problem to set the inputChat to whisper
i'm using:
mission.SetChatInputText(userMods.ToWString("/whisper " .. name), string.len("/whisper ")+string.len(name))
i tried a lot of different SetChatInput functions like SetChatInputType and SetChatInputArgs but neither one works (SetChatInputType works when i pass "party" or "guild" but not "whisper").
-
I was looking for some resources to use, like buttons, panels, etc.
Then i thought in create a post to share it, since i didn't found any.
-
yeah Inspect Widgets and Inspect API are life saviors. But sometimes what really helps me is look inside other addons, yesterday i was trying to use unit.GetName( ) that i saw in an doc example, when i should use object.GetName(). Also, the AOClassLib is great lib by the way (i fould that when i was looking in the DarkDPSMeter code)
-
Я понял, что это делает
stateMainForm:GetChildChecked(nameOfWidget, true)
я получил имя от Inspect Widget addon. https://alloder.pro/files/file/101-inspect-widgets/
есть другой способ сделать это?
-
как я могу получить ссылки на виджеты по умолчанию, например окно журнала квестов?
~~google translator
-
15 hours ago, самолет/Eksperyment said:
You have to enable logs in global.cfg> user_mods_log_enable = 1
thankyou . Sorry for flooding, i didn't see that Logg had posted before.
-
У меня аналогичная проблема, и вместо этого я создаю новый пост, я предпочитаю использовать это.
Ни мои, ни стандартные аддоны не создают mods.txt внутри Personal / Logs (или в другом месте). Я установил свою игру через steam. Я попытался посмотреть, могут ли другие надстройки публиковать журналы, и я установил надстройку регистратора событий ( https://alloder.pro/files/file/633-event-logger/ ), но не создал файл mods.txt (он показал события, которые срабатывает в окне чата)
-
i'm having a similar issue and instead create a new post, i prefer to use this.
Neither mine or default addons create mods.txt inside Personal/Logs (or in another place). I installed my game by steam. I tried see if other addons could post logs and i installed event logger addon ( https://alloder.pro/files/file/633-event-logger/ ) but neither it create the mods.txt file (it showed the events that triggered in the chat window)
-
i love gibberlings cause i'm triplet
How to close addon panel with ESC key?
в Вопросы и ответы
Опубликовано
A "hack" that you can try is to put your addon as a child of EscMenu
stateMainForm:EscMenu:AddChild(mainForm)
i don't know if it will work, but i expect this to work like the other panels in the EscMenu (like video settings, etc.)