Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Could anyone point me to a library \ resources that would explain where people are gathering specifi

[DiscordArchive] Could anyone point me to a library \ resources that would explain where people are gathering specifi

[DiscordArchive] Could anyone point me to a library \ resources that would explain where people are gathering specifi

rektbyfaith
Administrator
0
04-26-2024, 11:28 AM
#1
Archived author: Ghost • Posted: 2024-04-26T11:28:50.211000+00:00
Original source

Could anyone point me to a library \ resources that would explain where people are gathering specific LUA commands at? For example, I'm really new to this and trying to edit a pre-existing LUA script. I want to have it not occur if the user is rested\in a city. Right now, it is using:

```local function SpawnAttacker(event, player)
local map = player:GetMap()
if map:IsDungeon() or map:IsRaid() or map:IsBattleground() then
return
end```

Not sure where to figure out what would work in this, or if there is some documentation on available commands like maybe Aura:IsRested() something like that?
rektbyfaith
04-26-2024, 11:28 AM #1

Archived author: Ghost • Posted: 2024-04-26T11:28:50.211000+00:00
Original source

Could anyone point me to a library \ resources that would explain where people are gathering specific LUA commands at? For example, I'm really new to this and trying to edit a pre-existing LUA script. I want to have it not occur if the user is rested\in a city. Right now, it is using:

```local function SpawnAttacker(event, player)
local map = player:GetMap()
if map:IsDungeon() or map:IsRaid() or map:IsBattleground() then
return
end```

Not sure where to figure out what would work in this, or if there is some documentation on available commands like maybe Aura:IsRested() something like that?

rektbyfaith
Administrator
0
04-26-2024, 11:58 AM
#2
Archived author: Honey • Posted: 2024-04-26T11:58:14.448000+00:00
Original source

https://www.azerothcore.org/pages/eluna/index.html
For azerothcore's mod-eluna
[Embed: Eluna API]
API documentation for the Eluna engine.
https://www.azerothcore.org/pages/eluna/index.html
rektbyfaith
04-26-2024, 11:58 AM #2

Archived author: Honey • Posted: 2024-04-26T11:58:14.448000+00:00
Original source

https://www.azerothcore.org/pages/eluna/index.html
For azerothcore's mod-eluna
[Embed: Eluna API]
API documentation for the Eluna engine.
https://www.azerothcore.org/pages/eluna/index.html

rektbyfaith
Administrator
0
04-26-2024, 12:03 PM
#3
Archived author: Ghost • Posted: 2024-04-26T12:03:30.925000+00:00
Original source

Awesome, thanks!
rektbyfaith
04-26-2024, 12:03 PM #3

Archived author: Ghost • Posted: 2024-04-26T12:03:30.925000+00:00
Original source

Awesome, thanks!

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