Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] Anyone know why I am getting this errors from my custom action buttons?

[DiscordArchive] Anyone know why I am getting this errors from my custom action buttons?

[DiscordArchive] Anyone know why I am getting this errors from my custom action buttons?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
02-19-2022, 10:48 PM
#1
Archived author: Fiur • Posted: 2022-02-19T22:48:35.024000+00:00
Original source

Anyone know why I am getting this errors from my custom action buttons?
[Image: unknown.png?ex=690c7d02&is=690b2b82&hm=a...eebeef4a9&]
rektbyfaith
02-19-2022, 10:48 PM #1

Archived author: Fiur • Posted: 2022-02-19T22:48:35.024000+00:00
Original source

Anyone know why I am getting this errors from my custom action buttons?
[Image: unknown.png?ex=690c7d02&is=690b2b82&hm=a...eebeef4a9&]

rektbyfaith
Administrator
0
02-19-2022, 10:49 PM
#2
Archived author: Thiaz • Posted: 2022-02-19T22:49:15.805000+00:00
Original source

nil values obviously x)
rektbyfaith
02-19-2022, 10:49 PM #2

Archived author: Thiaz • Posted: 2022-02-19T22:49:15.805000+00:00
Original source

nil values obviously x)

rektbyfaith
Administrator
0
02-19-2022, 10:50 PM
#3
Archived author: Thiaz • Posted: 2022-02-19T22:50:00.774000+00:00
Original source

trying to call a non existing index
rektbyfaith
02-19-2022, 10:50 PM #3

Archived author: Thiaz • Posted: 2022-02-19T22:50:00.774000+00:00
Original source

trying to call a non existing index

rektbyfaith
Administrator
0
02-19-2022, 10:50 PM
#4
Archived author: Kaev • Posted: 2022-02-19T22:50:26.419000+00:00
Original source

You need to show the code that results in the error so we can properly help you.
rektbyfaith
02-19-2022, 10:50 PM #4

Archived author: Kaev • Posted: 2022-02-19T22:50:26.419000+00:00
Original source

You need to show the code that results in the error so we can properly help you.

rektbyfaith
Administrator
0
02-19-2022, 11:01 PM
#5
Archived author: Fiur • Posted: 2022-02-19T23:01:18.395000+00:00
Original source

I am trying to create custom action buttons (im on retail)
code in XML:

```lua
<CheckButton name="ActionButton_Custom1" inherits="ActionBarButtonTemplate, BackdropTemplate" parent="UIParent" id="115">
<Anchors>
<Anchor point="LEFT" relativeTo="UIParent" relativePoint="RIGHT">
<Offset>
<AbsDimension x="6" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
```
rektbyfaith
02-19-2022, 11:01 PM #5

Archived author: Fiur • Posted: 2022-02-19T23:01:18.395000+00:00
Original source

I am trying to create custom action buttons (im on retail)
code in XML:

```lua
<CheckButton name="ActionButton_Custom1" inherits="ActionBarButtonTemplate, BackdropTemplate" parent="UIParent" id="115">
<Anchors>
<Anchor point="LEFT" relativeTo="UIParent" relativePoint="RIGHT">
<Offset>
<AbsDimension x="6" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
```

rektbyfaith
Administrator
0
02-19-2022, 11:01 PM
#6
Archived author: Fiur • Posted: 2022-02-19T23:01:55.788000+00:00
Original source

and when I enter, leave and click the custom action button, I get those errors
rektbyfaith
02-19-2022, 11:01 PM #6

Archived author: Fiur • Posted: 2022-02-19T23:01:55.788000+00:00
Original source

and when I enter, leave and click the custom action button, I get those errors

rektbyfaith
Administrator
0
02-19-2022, 11:03 PM
#7
Archived author: Fiur • Posted: 2022-02-19T23:03:02.872000+00:00
Original source

This works fine on vanilla client, tried finding how you do it for older versions but couldn't get any good answers
rektbyfaith
02-19-2022, 11:03 PM #7

Archived author: Fiur • Posted: 2022-02-19T23:03:02.872000+00:00
Original source

This works fine on vanilla client, tried finding how you do it for older versions but couldn't get any good answers

rektbyfaith
Administrator
0
02-19-2022, 11:13 PM
#8
Archived author: Fiur • Posted: 2022-02-19T23:13:02.902000+00:00
Original source

Seems like creating custom action buttons is scuffed on retail
rektbyfaith
02-19-2022, 11:13 PM #8

Archived author: Fiur • Posted: 2022-02-19T23:13:02.902000+00:00
Original source

Seems like creating custom action buttons is scuffed on retail

rektbyfaith
Administrator
0
02-19-2022, 11:31 PM
#9
Archived author: Peacy • Posted: 2022-02-19T23:31:16.882000+00:00
Original source

Anyone know how I can get my function to return an array in C++?
```c++
uint32 Player::test()
{
uint32 spells[3] = { };

return spells;
}
```
rektbyfaith
02-19-2022, 11:31 PM #9

Archived author: Peacy • Posted: 2022-02-19T23:31:16.882000+00:00
Original source

Anyone know how I can get my function to return an array in C++?
```c++
uint32 Player::test()
{
uint32 spells[3] = { };

return spells;
}
```

rektbyfaith
Administrator
0
02-19-2022, 11:31 PM
#10
Archived author: Peacy • Posted: 2022-02-19T23:31:39.168000+00:00
Original source

I tried to do uint32[3] Player::test() but that doesn't work.
rektbyfaith
02-19-2022, 11:31 PM #10

Archived author: Peacy • Posted: 2022-02-19T23:31:39.168000+00:00
Original source

I tried to do uint32[3] Player::test() but that doesn't work.

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)