Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] I think but I’m not sure that this determines if BG is still ongoing?

[DiscordArchive] I think but I’m not sure that this determines if BG is still ongoing?

[DiscordArchive] I think but I’m not sure that this determines if BG is still ongoing?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
05-31-2025, 03:55 PM
#1
Archived author: dr3amforg3 • Posted: 2025-05-31T15:55:37.197000+00:00
Original source

I think but I’m not sure that this determines if BG is still ongoing?
rektbyfaith
05-31-2025, 03:55 PM #1

Archived author: dr3amforg3 • Posted: 2025-05-31T15:55:37.197000+00:00
Original source

I think but I’m not sure that this determines if BG is still ongoing?

rektbyfaith
Administrator
0
05-31-2025, 03:56 PM
#2
Archived author: dr3amforg3 • Posted: 2025-05-31T15:56:30.676000+00:00
Original source

What exactly would you want to achieve? Maybe that would be easier ?
rektbyfaith
05-31-2025, 03:56 PM #2

Archived author: dr3amforg3 • Posted: 2025-05-31T15:56:30.676000+00:00
Original source

What exactly would you want to achieve? Maybe that would be easier ?

rektbyfaith
Administrator
0
05-31-2025, 03:56 PM
#3
Archived author: Clement • Posted: 2025-05-31T15:56:48.392000+00:00
Original source

I made it work relying on the preparation spell
rektbyfaith
05-31-2025, 03:56 PM #3

Archived author: Clement • Posted: 2025-05-31T15:56:48.392000+00:00
Original source

I made it work relying on the preparation spell

rektbyfaith
Administrator
0
05-31-2025, 03:56 PM
#4
Archived author: Clement • Posted: 2025-05-31T15:56:58.813000+00:00
Original source

(I wanted bg to reset spells cooldown like arena do)
rektbyfaith
05-31-2025, 03:56 PM #4

Archived author: Clement • Posted: 2025-05-31T15:56:58.813000+00:00
Original source

(I wanted bg to reset spells cooldown like arena do)

rektbyfaith
Administrator
0
05-31-2025, 03:57 PM
#5
Archived author: dr3amforg3 • Posted: 2025-05-31T15:57:11.437000+00:00
Original source

Ohh ok sorry than my bad
rektbyfaith
05-31-2025, 03:57 PM #5

Archived author: dr3amforg3 • Posted: 2025-05-31T15:57:11.437000+00:00
Original source

Ohh ok sorry than my bad

rektbyfaith
Administrator
0
05-31-2025, 03:57 PM
#6
Archived author: Clement • Posted: 2025-05-31T15:57:33.367000+00:00
Original source

I've still didn't understand really why we can't construct ourself the BG object since it exist in other events
rektbyfaith
05-31-2025, 03:57 PM #6

Archived author: Clement • Posted: 2025-05-31T15:57:33.367000+00:00
Original source

I've still didn't understand really why we can't construct ourself the BG object since it exist in other events

rektbyfaith
Administrator
0
05-31-2025, 03:57 PM
#7
Archived author: Clement • Posted: 2025-05-31T15:57:59.157000+00:00
Original source

I tried to store it in a table and access it by instanceId but that was dereferenced once the event was done
rektbyfaith
05-31-2025, 03:57 PM #7

Archived author: Clement • Posted: 2025-05-31T15:57:59.157000+00:00
Original source

I tried to store it in a table and access it by instanceId but that was dereferenced once the event was done

rektbyfaith
Administrator
0
05-31-2025, 04:00 PM
#8
Archived author: Clement • Posted: 2025-05-31T16:00:40.544000+00:00
Original source

Thank you for the reply <@922367745620865035>
rektbyfaith
05-31-2025, 04:00 PM #8

Archived author: Clement • Posted: 2025-05-31T16:00:40.544000+00:00
Original source

Thank you for the reply <@922367745620865035>

rektbyfaith
Administrator
0
05-31-2025, 04:01 PM
#9
Archived author: dr3amforg3 • Posted: 2025-05-31T16:01:22.883000+00:00
Original source

No problem sorry I have mislead you
rektbyfaith
05-31-2025, 04:01 PM #9

Archived author: dr3amforg3 • Posted: 2025-05-31T16:01:22.883000+00:00
Original source

No problem sorry I have mislead you

rektbyfaith
Administrator
0
05-31-2025, 04:03 PM
#10
Archived author: Clement • Posted: 2025-05-31T16:03:14.952000+00:00
Original source

here is my working function if anyone is interested, nothing ground breaking
```lua
local AURA_PREPARATION = 44521 local PLAYER_EVENT_ON_UPDATE_ZONE = 27
RegisterPlayerEvent(PLAYER_EVENT_ON_UPDATE_ZONE, function (event, player)
if player:InBattleground() and player:HasAura(AURA_PREPARATION) then
player:RemoveArenaSpellCooldowns()
end
end)
```
rektbyfaith
05-31-2025, 04:03 PM #10

Archived author: Clement • Posted: 2025-05-31T16:03:14.952000+00:00
Original source

here is my working function if anyone is interested, nothing ground breaking
```lua
local AURA_PREPARATION = 44521 local PLAYER_EVENT_ON_UPDATE_ZONE = 27
RegisterPlayerEvent(PLAYER_EVENT_ON_UPDATE_ZONE, function (event, player)
if player:InBattleground() and player:HasAura(AURA_PREPARATION) then
player:RemoveArenaSpellCooldowns()
end
end)
```

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)