Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] U got the include in for the world state?

[DiscordArchive] U got the include in for the world state?

[DiscordArchive] U got the include in for the world state?

Pages (4): 1 2 3 4 Next
rektbyfaith
Administrator
0
01-03-2024, 12:05 AM
#1
Archived author: M'Dic • Posted: 2024-01-03T00:05:10.476000+00:00
Original source

U got the include in for the world state?
rektbyfaith
01-03-2024, 12:05 AM #1

Archived author: M'Dic • Posted: 2024-01-03T00:05:10.476000+00:00
Original source

U got the include in for the world state?

rektbyfaith
Administrator
0
01-03-2024, 12:06 AM
#2
Archived author: ModoX • Posted: 2024-01-03T00:06:25.798000+00:00
Original source

```cpp
if (sWorldStateMgr->GetValue(4485, me->GetMap()) == 1) // if we are on alliance instance
```
rektbyfaith
01-03-2024, 12:06 AM #2

Archived author: ModoX • Posted: 2024-01-03T00:06:25.798000+00:00
Original source

```cpp
if (sWorldStateMgr->GetValue(4485, me->GetMap()) == 1) // if we are on alliance instance
```

rektbyfaith
Administrator
0
01-03-2024, 12:06 AM
#3
Archived author: ModoX • Posted: 2024-01-03T00:06:49.618000+00:00
Original source

U gotta `#include "WorldStateMgr.h"`
rektbyfaith
01-03-2024, 12:06 AM #3

Archived author: ModoX • Posted: 2024-01-03T00:06:49.618000+00:00
Original source

U gotta `#include "WorldStateMgr.h"`

rektbyfaith
Administrator
0
01-03-2024, 12:08 AM
#4
Archived author: Malcrom • Posted: 2024-01-03T00:08:24.906000+00:00
Original source

```cpp
if (sWorldStateMgr->GetValue(WORLDSTATE_HORDE, me->GetMap()) == 1)
{
_entry = NPC_CORK_FIZZLEPOP;
creatureString = "Briarpatch_bunny_horde";
}
```
rektbyfaith
01-03-2024, 12:08 AM #4

Archived author: Malcrom • Posted: 2024-01-03T00:08:24.906000+00:00
Original source

```cpp
if (sWorldStateMgr->GetValue(WORLDSTATE_HORDE, me->GetMap()) == 1)
{
_entry = NPC_CORK_FIZZLEPOP;
creatureString = "Briarpatch_bunny_horde";
}
```

rektbyfaith
Administrator
0
01-03-2024, 12:08 AM
#5
Archived author: Malcrom • Posted: 2024-01-03T00:08:49.106000+00:00
Original source

the check is for horde
rektbyfaith
01-03-2024, 12:08 AM #5

Archived author: Malcrom • Posted: 2024-01-03T00:08:49.106000+00:00
Original source

the check is for horde

rektbyfaith
Administrator
0
01-03-2024, 12:08 AM
#6
Archived author: ModoX • Posted: 2024-01-03T00:08:53.470000+00:00
Original source

U gotta check == 1
rektbyfaith
01-03-2024, 12:08 AM #6

Archived author: ModoX • Posted: 2024-01-03T00:08:53.470000+00:00
Original source

U gotta check == 1

rektbyfaith
Administrator
0
01-03-2024, 12:09 AM
#7
Archived author: ModoX • Posted: 2024-01-03T00:09:46.852000+00:00
Original source

Checking if worldstate 4486 == 1 means "check if we are on horde instance"
Checking if worldstate 4485 == 1 means "check if we are on alliance instance"
rektbyfaith
01-03-2024, 12:09 AM #7

Archived author: ModoX • Posted: 2024-01-03T00:09:46.852000+00:00
Original source

Checking if worldstate 4486 == 1 means "check if we are on horde instance"
Checking if worldstate 4485 == 1 means "check if we are on alliance instance"

rektbyfaith
Administrator
0
01-03-2024, 12:09 AM
#8
Archived author: Malcrom • Posted: 2024-01-03T00:09:56.644000+00:00
Original source

ok
rektbyfaith
01-03-2024, 12:09 AM #8

Archived author: Malcrom • Posted: 2024-01-03T00:09:56.644000+00:00
Original source

ok

rektbyfaith
Administrator
0
01-03-2024, 12:10 AM
#9
Archived author: Malcrom • Posted: 2024-01-03T00:10:20.203000+00:00
Original source

So that
rektbyfaith
01-03-2024, 12:10 AM #9

Archived author: Malcrom • Posted: 2024-01-03T00:10:20.203000+00:00
Original source

So that

rektbyfaith
Administrator
0
01-03-2024, 12:10 AM
#10
Archived author: ModoX • Posted: 2024-01-03T00:10:24.666000+00:00
Original source

Yep
rektbyfaith
01-03-2024, 12:10 AM #10

Archived author: ModoX • Posted: 2024-01-03T00:10:24.666000+00:00
Original source

Yep

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