Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] hmm, but in your examples there the classname is nowhere as string, would that matter?

[DiscordArchive] hmm, but in your examples there the classname is nowhere as string, would that matter?

[DiscordArchive] hmm, but in your examples there the classname is nowhere as string, would that matter?

Pages (10): Previous 1 2 3 4 5 10 Next  
rektbyfaith
Administrator
0
05-16-2022, 05:29 PM
#11
Archived author: Grandold • Posted: 2022-05-16T17:29:24.159000+00:00
Original source

Cos of course I can do it how u got in examples, but main point the classname being a string and if that works, i didnt get it working
rektbyfaith
05-16-2022, 05:29 PM #11

Archived author: Grandold • Posted: 2022-05-16T17:29:24.159000+00:00
Original source

Cos of course I can do it how u got in examples, but main point the classname being a string and if that works, i didnt get it working

rektbyfaith
Administrator
0
05-16-2022, 05:30 PM
#12
Archived author: Foe • Posted: 2022-05-16T17:30:08.724000+00:00
Original source

yeah the string is just a string and not a reference to anything, so you have to translate that string into something, ie. a function or a variable in the global namespace as an example
rektbyfaith
05-16-2022, 05:30 PM #12

Archived author: Foe • Posted: 2022-05-16T17:30:08.724000+00:00
Original source

yeah the string is just a string and not a reference to anything, so you have to translate that string into something, ie. a function or a variable in the global namespace as an example

rektbyfaith
Administrator
0
05-16-2022, 05:30 PM
#13
Archived author: Grandold • Posted: 2022-05-16T17:30:20.068000+00:00
Original source

I though I would need to somehow eval() the classname string to turn it into an actual class
rektbyfaith
05-16-2022, 05:30 PM #13

Archived author: Grandold • Posted: 2022-05-16T17:30:20.068000+00:00
Original source

I though I would need to somehow eval() the classname string to turn it into an actual class

rektbyfaith
Administrator
0
05-16-2022, 05:30 PM
#14
Archived author: Grandold • Posted: 2022-05-16T17:30:49.794000+00:00
Original source

ye exactly
rektbyfaith
05-16-2022, 05:30 PM #14

Archived author: Grandold • Posted: 2022-05-16T17:30:49.794000+00:00
Original source

ye exactly

rektbyfaith
Administrator
0
05-16-2022, 05:30 PM
#15
Archived author: Foe • Posted: 2022-05-16T17:30:55.303000+00:00
Original source

as an example if you have a table called Classes in the global namespace, you can do something like _G["Classes"]()
rektbyfaith
05-16-2022, 05:30 PM #15

Archived author: Foe • Posted: 2022-05-16T17:30:55.303000+00:00
Original source

as an example if you have a table called Classes in the global namespace, you can do something like _G["Classes"]()

rektbyfaith
Administrator
0
05-16-2022, 05:31 PM
#16
Archived author: Foe • Posted: 2022-05-16T17:31:04.469000+00:00
Original source

That returns the function with that name from the global namespace
rektbyfaith
05-16-2022, 05:31 PM #16

Archived author: Foe • Posted: 2022-05-16T17:31:04.469000+00:00
Original source

That returns the function with that name from the global namespace

rektbyfaith
Administrator
0
05-16-2022, 05:31 PM
#17
Archived author: Grandold • Posted: 2022-05-16T17:31:05.595000+00:00
Original source

ye tried that too
rektbyfaith
05-16-2022, 05:31 PM #17

Archived author: Grandold • Posted: 2022-05-16T17:31:05.595000+00:00
Original source

ye tried that too

rektbyfaith
Administrator
0
05-16-2022, 05:32 PM
#18
Archived author: Foe • Posted: 2022-05-16T17:32:20.178000+00:00
Original source

https://github.com/Foereaper/CSMH/blob/m...H.lua#L214
[Embed: CSMH/SMH.lua at main · Foereaper/CSMH]
Client and Server Message Handler framework for communication between Eluna and WoW - CSMH/SMH.lua at main · Foereaper/CSMH
https://github.com/Foereaper/CSMH/blob/m...er/SMH.lua
rektbyfaith
05-16-2022, 05:32 PM #18

Archived author: Foe • Posted: 2022-05-16T17:32:20.178000+00:00
Original source

https://github.com/Foereaper/CSMH/blob/m...H.lua#L214
[Embed: CSMH/SMH.lua at main · Foereaper/CSMH]
Client and Server Message Handler framework for communication between Eluna and WoW - CSMH/SMH.lua at main · Foereaper/CSMH
https://github.com/Foereaper/CSMH/blob/m...er/SMH.lua

rektbyfaith
Administrator
0
05-16-2022, 05:32 PM
#19
Archived author: Foe • Posted: 2022-05-16T17:32:27.220000+00:00
Original source

That's something I do here
rektbyfaith
05-16-2022, 05:32 PM #19

Archived author: Foe • Posted: 2022-05-16T17:32:27.220000+00:00
Original source

That's something I do here

rektbyfaith
Administrator
0
05-16-2022, 05:32 PM
#20
Archived author: Grandold • Posted: 2022-05-16T17:32:28.166000+00:00
Original source

none of that worked but I'll try again for sure then
rektbyfaith
05-16-2022, 05:32 PM #20

Archived author: Grandold • Posted: 2022-05-16T17:32:28.166000+00:00
Original source

none of that worked but I'll try again for sure then

Pages (10): Previous 1 2 3 4 5 10 Next  
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)