Showing results 1 to 17 of 17
Search took 0.00 seconds.
Search: Posts Made By: FlatBadger
Forum: General Authoring Discussion 01/20/24, 05:30 AM
Replies: 9
Views: 1,783
Posted By FlatBadger
[QUOTE=DakJaniels;49234]Could it be as simple as...

[QUOTE=DakJaniels;49234]Could it be as simple as overriding IsESOPlusSubscriber() with IsESOPlusSubscriber = function () return false end

Wouldn't that then also have an impact on the player's...
Forum: Lua/XML Help 01/03/24, 08:02 AM
Replies: 6
Views: 1,383
Posted By FlatBadger
Do you mean the messages that pop up centre...

Do you mean the messages that pop up centre screen, or the ones that pop up in the top right of the screen, or the notifications window, or something else?
Forum: General Authoring Discussion 12/23/23, 05:00 AM
Replies: 17
Views: 4,422
Posted By FlatBadger
I don't use custom fonts personally, but I do...

I don't use custom fonts personally, but I do have a few addons that use explicit font paths, so the feature of "they said ttf, let's see if we can find something of the same name but .slug instead"...
Forum: General Authoring Discussion 12/16/23, 11:42 AM
Replies: 10
Views: 1,860
Posted By FlatBadger
You need to iterate the table, but it depends on...

You need to iterate the table, but it depends on the structure of your table. You need to use either pairs
or
ipairs

e.g.


local myTable = {[key1]="value1",[key2]=value2}

for key, value in...
Forum: General Authoring Discussion 10/15/23, 03:59 AM
Replies: 8
Views: 2,000
Posted By FlatBadger
Have you tried victomCharacterName =...

Have you tried victomCharacterName = zo_strformat("<<1>>", victomCharacterName) as sirinsidiator suggested? That should do the trick for you. I use <<C:1>> to retain initial capitalisation. There's a...
Forum: AddOn Help/Support 05/25/23, 01:17 PM
Replies: 5
Views: 2,008
Posted By FlatBadger
That doesn't sound like you've got it quite...

That doesn't sound like you've got it quite right. As you've been a great help with my addon, I'll send you the version I have.
Forum: AddOn Help/Support 05/25/23, 12:01 PM
Replies: 5
Views: 2,008
Posted By FlatBadger
Hi, I'm not interested in taking over the addon,...

Hi,
I'm not interested in taking over the addon, and the following information comes with lots of disclaimers as I've done very little testing on it and do not know full impact of these changes, but...
Forum: Lua/XML Help 04/15/23, 05:04 AM
Replies: 7
Views: 2,474
Posted By FlatBadger
The first parameter for all events is actually...

The first parameter for all events is actually the event id, so that documentation is slightly misleading if you don't realise that. In this case, it's actually:


EVENT_BANKED_CURRENCY_UPDATE...
Forum: Lua/XML Help 04/15/23, 02:27 AM
Replies: 7
Views: 2,474
Posted By FlatBadger
What I mean is that after depositing you need to...

What I mean is that after depositing you need to wait for an event to fire before you can retrieve the updated balance.
Forum: Lua/XML Help 04/15/23, 01:20 AM
Replies: 7
Views: 2,474
Posted By FlatBadger
Are you calling this the second time in response...

Are you calling this the second time in response to an event? It may just be that you're calling it too early.

There's a few events that could be of...
Forum: General Authoring Discussion 04/03/23, 11:38 AM
Replies: 6
Views: 2,592
Posted By FlatBadger
I'm not near my machine at the moment - have your...

I'm not near my machine at the moment - have your tried just using

fragment:Show()

and

fragment:Hide()
Forum: General Authoring Discussion 04/03/23, 10:24 AM
Replies: 6
Views: 2,592
Posted By FlatBadger
It definitely looks like you're overcomplicating...

It definitely looks like you're overcomplicating it :-)

This is just off the top of my head, so hopefully I'm not talking rubbish, but:

Try creating your tlcFragment as you are, then add it to the...
Forum: Lua/XML Help 03/04/23, 10:57 AM
Replies: 5
Views: 1,813
Posted By FlatBadger
No need to loop through anything at all or make...

No need to loop through anything at all or make additional API calls if you just use the FRIENDS_LIST_MANAGER:FindDataByDisplayName(displayName) - all the info you could ever need is just there for...
Forum: Lua/XML Help 03/04/23, 02:09 AM
Replies: 5
Views: 1,813
Posted By FlatBadger
I use the FRIENDS_LIST_MANAGER for this,...

I use the FRIENDS_LIST_MANAGER for this, e.g.


local masterList = FRIENDS_LIST_MANAGER:GetMasterList()

for _, friend in ipairs(masterList) do
if (friend.online) then
-- do something
...
Forum: Lua/XML Help 02/18/23, 11:50 AM
Replies: 12
Views: 3,686
Posted By FlatBadger
The way you have your code right now means that...

The way you have your code right now means that it will only change the font each time the Player Activated event is triggered, which only happens each time you zone in to somewhere.

If you want it...
Forum: Lua/XML Help 02/18/23, 09:29 AM
Replies: 12
Views: 3,686
Posted By FlatBadger
I just tried the following: /script...

I just tried the following:


/script SetNameplateKeyboardFont(string.format("%s|%d", "EsoUI/Common/Fonts/Univers67.otf", "26"),FONT_STYLE_SHADOW)


and it took effect immediately.

Two things,
1)...
Forum: Lua/XML Help 02/18/23, 03:59 AM
Replies: 12
Views: 3,686
Posted By FlatBadger
I'm not sure how you're setting the font for the...

I'm not sure how you're setting the font for the nameplate, but font face and size changes do not require a ui refresh of any kind. They happen instantly when you use the :SetFont(...) function on...
Showing results 1 to 17 of 17