Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] C_Mount = {

[DiscordArchive] C_Mount = {

[DiscordArchive] C_Mount = {

rektbyfaith
Administrator
0
04-12-2025, 04:37 PM
#1
Archived author: Widget • Posted: 2025-04-12T16:37:07.070000+00:00
Original source

C_Mount = {
MyFunction = function()
print("asd!")
end
}
this?
rektbyfaith
04-12-2025, 04:37 PM #1

Archived author: Widget • Posted: 2025-04-12T16:37:07.070000+00:00
Original source

C_Mount = {
MyFunction = function()
print("asd!")
end
}
this?

rektbyfaith
Administrator
0
04-12-2025, 04:37 PM
#2
Archived author: Widget • Posted: 2025-04-12T16:37:45.008000+00:00
Original source

or you wanna do it from C/DLL and expose it in the client
rektbyfaith
04-12-2025, 04:37 PM #2

Archived author: Widget • Posted: 2025-04-12T16:37:45.008000+00:00
Original source

or you wanna do it from C/DLL and expose it in the client

rektbyfaith
Administrator
0
04-12-2025, 04:39 PM
#3
Archived author: Peacy • Posted: 2025-04-12T16:39:15.890000+00:00
Original source

Well yes, that is how you create it in lua but I mean, how do you create it via DLL for example:

When I do this:

```c++
Lua::RegisterFunction((int)FrameScript::GetSpellDescription, "GetSpellDescription");
```

I can now do /run GetSpellDescription() in game and it will run my DLL function. I can I get it to run my DLL function if I want to do /run prefix.function().
rektbyfaith
04-12-2025, 04:39 PM #3

Archived author: Peacy • Posted: 2025-04-12T16:39:15.890000+00:00
Original source

Well yes, that is how you create it in lua but I mean, how do you create it via DLL for example:

When I do this:

```c++
Lua::RegisterFunction((int)FrameScript::GetSpellDescription, "GetSpellDescription");
```

I can now do /run GetSpellDescription() in game and it will run my DLL function. I can I get it to run my DLL function if I want to do /run prefix.function().

rektbyfaith
Administrator
0
04-12-2025, 04:39 PM
#4
Archived author: Widget • Posted: 2025-04-12T16:39:29.405000+00:00
Original source

https://github.com/FrostAtom/awesome_wot...#L128-L143
rektbyfaith
04-12-2025, 04:39 PM #4

Archived author: Widget • Posted: 2025-04-12T16:39:29.405000+00:00
Original source

https://github.com/FrostAtom/awesome_wot...#L128-L143

rektbyfaith
Administrator
0
04-12-2025, 04:39 PM
#5
Archived author: Peacy • Posted: 2025-04-12T16:39:41.514000+00:00
Original source

Thanks ❤️
rektbyfaith
04-12-2025, 04:39 PM #5

Archived author: Peacy • Posted: 2025-04-12T16:39:41.514000+00:00
Original source

Thanks ❤️

rektbyfaith
Administrator
0
04-12-2025, 04:40 PM
#6
Archived author: Widget • Posted: 2025-04-12T16:40:00.131000+00:00
Original source

creates C_NamePlate table and adds 2 methods to it
C_NamePlate.GetNamePlates
C_NamePlate.GetNamePlateForUnit
rektbyfaith
04-12-2025, 04:40 PM #6

Archived author: Widget • Posted: 2025-04-12T16:40:00.131000+00:00
Original source

creates C_NamePlate table and adds 2 methods to it
C_NamePlate.GetNamePlates
C_NamePlate.GetNamePlateForUnit

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)