[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?
![[Image: unknown.png?ex=690c7d02&is=690b2b82&hm=a...eebeef4a9&]](https://cdn.discordapp.com/attachments/415944535718494208/944727192187854918/unknown.png?ex=690c7d02&is=690b2b82&hm=a6f1c93bdf595a8f5f9e249f246b85b70f42d7b01dbf7d26a9af932eebeef4a9&)
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&]](https://cdn.discordapp.com/attachments/415944535718494208/944727192187854918/unknown.png?ex=690c7d02&is=690b2b82&hm=a6f1c93bdf595a8f5f9e249f246b85b70f42d7b01dbf7d26a9af932eebeef4a9&)
Archived author: Thiaz • Posted: 2022-02-19T22:49:15.805000+00:00
Original source
nil values obviously x)
Archived author: Thiaz • Posted: 2022-02-19T22:50:00.774000+00:00
Original source
trying to call a non existing index
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.
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>
```
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
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
Archived author: Fiur • Posted: 2022-02-19T23:13:02.902000+00:00
Original source
Seems like creating custom action buttons is scuffed on retail
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;
}
```
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.