Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] do you know if it has to be in the virtual drive that the eluna .conf points to?

[DiscordArchive] do you know if it has to be in the virtual drive that the eluna .conf points to?

[DiscordArchive] do you know if it has to be in the virtual drive that the eluna .conf points to?

Pages (7): Previous 1 3 4 5 6 7 Next  
rektbyfaith
Administrator
0
08-16-2023, 08:28 PM
#41
Archived author: thebigclamp • Posted: 2023-08-16T20:28:38.442000+00:00
Original source

yeah i copied that code, just added a zero after "test" in the say
rektbyfaith
08-16-2023, 08:28 PM #41

Archived author: thebigclamp • Posted: 2023-08-16T20:28:38.442000+00:00
Original source

yeah i copied that code, just added a zero after "test" in the say

rektbyfaith
Administrator
0
08-16-2023, 08:28 PM
#42
Archived author: Honey • Posted: 2023-08-16T20:28:58.099000+00:00
Original source

Your first lesson in Lua shall be to use `local` unless explicitely required not to.
rektbyfaith
08-16-2023, 08:28 PM #42

Archived author: Honey • Posted: 2023-08-16T20:28:58.099000+00:00
Original source

Your first lesson in Lua shall be to use `local` unless explicitely required not to.

rektbyfaith
Administrator
0
08-16-2023, 08:29 PM
#43
Archived author: thebigclamp • Posted: 2023-08-16T20:29:15.596000+00:00
Original source

yes, global variables tends to mess with thigns
rektbyfaith
08-16-2023, 08:29 PM #43

Archived author: thebigclamp • Posted: 2023-08-16T20:29:15.596000+00:00
Original source

yes, global variables tends to mess with thigns

rektbyfaith
Administrator
0
08-16-2023, 08:29 PM
#44
Archived author: Honey • Posted: 2023-08-16T20:29:17.843000+00:00
Original source

And be aware that `local` variables and functions need to be declared in order.
rektbyfaith
08-16-2023, 08:29 PM #44

Archived author: Honey • Posted: 2023-08-16T20:29:17.843000+00:00
Original source

And be aware that `local` variables and functions need to be declared in order.

rektbyfaith
Administrator
0
08-16-2023, 08:29 PM
#45
Archived author: thebigclamp • Posted: 2023-08-16T20:29:33.760000+00:00
Original source

so like a normal c code?
rektbyfaith
08-16-2023, 08:29 PM #45

Archived author: thebigclamp • Posted: 2023-08-16T20:29:33.760000+00:00
Original source

so like a normal c code?

rektbyfaith
Administrator
0
08-16-2023, 08:30 PM
#46
Archived author: thebigclamp • Posted: 2023-08-16T20:30:01.053000+00:00
Original source

is all variables declared in a function local to the function aswell right?
rektbyfaith
08-16-2023, 08:30 PM #46

Archived author: thebigclamp • Posted: 2023-08-16T20:30:01.053000+00:00
Original source

is all variables declared in a function local to the function aswell right?

rektbyfaith
Administrator
0
08-16-2023, 08:30 PM
#47
Archived author: Honey • Posted: 2023-08-16T20:30:22.662000+00:00
Original source

```lua
foo()

local function foo()
// do stuff
end
```
this won't work ☝️
rektbyfaith
08-16-2023, 08:30 PM #47

Archived author: Honey • Posted: 2023-08-16T20:30:22.662000+00:00
Original source

```lua
foo()

local function foo()
// do stuff
end
```
this won't work ☝️

rektbyfaith
Administrator
0
08-16-2023, 08:30 PM
#48
Archived author: Honey • Posted: 2023-08-16T20:30:42.658000+00:00
Original source

yeah
rektbyfaith
08-16-2023, 08:30 PM #48

Archived author: Honey • Posted: 2023-08-16T20:30:42.658000+00:00
Original source

yeah

rektbyfaith
Administrator
0
08-16-2023, 08:31 PM
#49
Archived author: thebigclamp • Posted: 2023-08-16T20:31:09.150000+00:00
Original source

perfect, then i dont need to change my workflow
rektbyfaith
08-16-2023, 08:31 PM #49

Archived author: thebigclamp • Posted: 2023-08-16T20:31:09.150000+00:00
Original source

perfect, then i dont need to change my workflow

rektbyfaith
Administrator
0
08-16-2023, 08:32 PM
#50
Archived author: Honey • Posted: 2023-08-16T20:32:19.252000+00:00
Original source

The elegant solution is to put everything in one table.

```lue
local foo = {}
foo.bar()

function foo.bar()
// do stuff
end
```

This way it works
rektbyfaith
08-16-2023, 08:32 PM #50

Archived author: Honey • Posted: 2023-08-16T20:32:19.252000+00:00
Original source

The elegant solution is to put everything in one table.

```lue
local foo = {}
foo.bar()

function foo.bar()
// do stuff
end
```

This way it works

Pages (7): Previous 1 3 4 5 6 7 Next  
Recently Browsing
 
Recently Browsing