Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Does anyone know from their head, how and where the ownership of PvP objectives, like Hellfire or Ha

[DiscordArchive] Does anyone know from their head, how and where the ownership of PvP objectives, like Hellfire or Ha

[DiscordArchive] Does anyone know from their head, how and where the ownership of PvP objectives, like Hellfire or Ha

Pages (3): 1 2 3 Next
rektbyfaith
Administrator
0
12-27-2022, 01:42 PM
#1
Archived author: Honey • Posted: 2022-12-27T13:42:39.195000+00:00
Original source

Does anyone know from their head, how and where the ownership of PvP objectives, like Hellfire or Halaa is stored/defined?
rektbyfaith
12-27-2022, 01:42 PM #1

Archived author: Honey • Posted: 2022-12-27T13:42:39.195000+00:00
Original source

Does anyone know from their head, how and where the ownership of PvP objectives, like Hellfire or Halaa is stored/defined?

rektbyfaith
Administrator
0
12-27-2022, 01:43 PM
#2
Archived author: Honey • Posted: 2022-12-27T13:43:18.564000+00:00
Original source

I'm looking for methods like GetOwner or SetOwner for them.
rektbyfaith
12-27-2022, 01:43 PM #2

Archived author: Honey • Posted: 2022-12-27T13:43:18.564000+00:00
Original source

I'm looking for methods like GetOwner or SetOwner for them.

rektbyfaith
Administrator
0
12-27-2022, 01:54 PM
#3
Archived author: Roboto • Posted: 2022-12-27T13:54:47.992000+00:00
Original source

They're world states
rektbyfaith
12-27-2022, 01:54 PM #3

Archived author: Roboto • Posted: 2022-12-27T13:54:47.992000+00:00
Original source

They're world states

rektbyfaith
Administrator
0
12-27-2022, 01:55 PM
#4
Archived author: Roboto • Posted: 2022-12-27T13:55:36.119000+00:00
Original source

take a look at `OutdoorPVPNA.h`
rektbyfaith
12-27-2022, 01:55 PM #4

Archived author: Roboto • Posted: 2022-12-27T13:55:36.119000+00:00
Original source

take a look at `OutdoorPVPNA.h`

rektbyfaith
Administrator
0
12-27-2022, 02:02 PM
#5
Archived author: Honey • Posted: 2022-12-27T14:02:08.708000+00:00
Original source

Oh dedicated pvp scripts. Thanks!
rektbyfaith
12-27-2022, 02:02 PM #5

Archived author: Honey • Posted: 2022-12-27T14:02:08.708000+00:00
Original source

Oh dedicated pvp scripts. Thanks!

rektbyfaith
Administrator
0
12-27-2022, 02:02 PM
#6
Archived author: Honey • Posted: 2022-12-27T14:02:18.929000+00:00
Original source

I've been searching zone scripts ‍♀️
rektbyfaith
12-27-2022, 02:02 PM #6

Archived author: Honey • Posted: 2022-12-27T14:02:18.929000+00:00
Original source

I've been searching zone scripts ‍♀️

rektbyfaith
Administrator
0
12-27-2022, 02:13 PM
#7
Archived author: Honey • Posted: 2022-12-27T14:13:09.507000+00:00
Original source

Setter seems here:
<https://github.com/azerothcore/azerothcore-wotlk/blob/02140e18a59719f59fb18f6e97925ba82ae22629/src/server/scripts/OutdoorPvP/OutdoorPvPNA.h#L279>
So as for the getter, i need to check a world state?
rektbyfaith
12-27-2022, 02:13 PM #7

Archived author: Honey • Posted: 2022-12-27T14:13:09.507000+00:00
Original source

Setter seems here:
<https://github.com/azerothcore/azerothcore-wotlk/blob/02140e18a59719f59fb18f6e97925ba82ae22629/src/server/scripts/OutdoorPvP/OutdoorPvPNA.h#L279>
So as for the getter, i need to check a world state?

rektbyfaith
Administrator
0
12-27-2022, 02:14 PM
#8
Archived author: Honey • Posted: 2022-12-27T14:14:02.648000+00:00
Original source

Nvm, it 3 lines before
rektbyfaith
12-27-2022, 02:14 PM #8

Archived author: Honey • Posted: 2022-12-27T14:14:02.648000+00:00
Original source

Nvm, it 3 lines before

rektbyfaith
Administrator
0
12-27-2022, 02:14 PM
#9
Archived author: Honey • Posted: 2022-12-27T14:14:05.561000+00:00
Original source

GetControllingFaction()
rektbyfaith
12-27-2022, 02:14 PM #9

Archived author: Honey • Posted: 2022-12-27T14:14:05.561000+00:00
Original source

GetControllingFaction()

rektbyfaith
Administrator
0
12-27-2022, 02:24 PM
#10
Archived author: Honey • Posted: 2022-12-27T14:24:04.139000+00:00
Original source

Would i do for example
```cpp
if (OutdoorPvPNA->GetControllingFaction() == 0)
{
// Do stuff for alliance holding it
}
```

And

```cpp
OutdoorPvPNA->FactionTakeOver(1)
```
to make Halaa taken by Horde?
rektbyfaith
12-27-2022, 02:24 PM #10

Archived author: Honey • Posted: 2022-12-27T14:24:04.139000+00:00
Original source

Would i do for example
```cpp
if (OutdoorPvPNA->GetControllingFaction() == 0)
{
// Do stuff for alliance holding it
}
```

And

```cpp
OutdoorPvPNA->FactionTakeOver(1)
```
to make Halaa taken by Horde?

Pages (3): 1 2 3 Next
Recently Browsing
 
Recently Browsing