Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] <@559407472759275540> do you need to catch a specific map leaving ?

[DiscordArchive] <@559407472759275540> do you need to catch a specific map leaving ?

[DiscordArchive] <@559407472759275540> do you need to catch a specific map leaving ?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
06-25-2019, 11:07 AM
#1
Archived author: MR.MUSTACHE • Posted: 2019-06-25T11:07:02.433000+00:00
Original source

<@559407472759275540> do you need to catch a specific map leaving ?
rektbyfaith
06-25-2019, 11:07 AM #1

Archived author: MR.MUSTACHE • Posted: 2019-06-25T11:07:02.433000+00:00
Original source

<@559407472759275540> do you need to catch a specific map leaving ?

rektbyfaith
Administrator
0
06-25-2019, 11:07 AM
#2
Archived author: MR.MUSTACHE • Posted: 2019-06-25T11:07:17.737000+00:00
Original source

cuz my case is kind of dumb, I wanna catch all dungeon leavers
rektbyfaith
06-25-2019, 11:07 AM #2

Archived author: MR.MUSTACHE • Posted: 2019-06-25T11:07:17.737000+00:00
Original source

cuz my case is kind of dumb, I wanna catch all dungeon leavers

rektbyfaith
Administrator
0
06-25-2019, 11:08 AM
#3
Archived author: Hido • Posted: 2019-06-25T11:08:19.474000+00:00
Original source

Well i'm sure that you can do it with MAP_EVENT_ON_PLAYER_LEAVE
You get the map id and check if it's a dungeon and if it is then you do something since you can access to "player" in this event
rektbyfaith
06-25-2019, 11:08 AM #3

Archived author: Hido • Posted: 2019-06-25T11:08:19.474000+00:00
Original source

Well i'm sure that you can do it with MAP_EVENT_ON_PLAYER_LEAVE
You get the map id and check if it's a dungeon and if it is then you do something since you can access to "player" in this event

rektbyfaith
Administrator
0
06-25-2019, 11:08 AM
#4
Archived author: MR.MUSTACHE • Posted: 2019-06-25T11:08:34.957000+00:00
Original source

1. I don't use eluna
rektbyfaith
06-25-2019, 11:08 AM #4

Archived author: MR.MUSTACHE • Posted: 2019-06-25T11:08:34.957000+00:00
Original source

1. I don't use eluna

rektbyfaith
Administrator
0
06-25-2019, 11:08 AM
#5
Archived author: MR.MUSTACHE • Posted: 2019-06-25T11:08:51.544000+00:00
Original source

2. I think that We are talking about almost the same function
rektbyfaith
06-25-2019, 11:08 AM #5

Archived author: MR.MUSTACHE • Posted: 2019-06-25T11:08:51.544000+00:00
Original source

2. I think that We are talking about almost the same function

rektbyfaith
Administrator
0
06-25-2019, 11:09 AM
#6
Archived author: MR.MUSTACHE • Posted: 2019-06-25T11:09:01.094000+00:00
Original source

yours is just a event that is returned after map OnPlayerLeaveMap
rektbyfaith
06-25-2019, 11:09 AM #6

Archived author: MR.MUSTACHE • Posted: 2019-06-25T11:09:01.094000+00:00
Original source

yours is just a event that is returned after map OnPlayerLeaveMap

rektbyfaith
Administrator
0
06-25-2019, 11:10 AM
#7
Archived author: MR.MUSTACHE • Posted: 2019-06-25T11:10:55.770000+00:00
Original source

but anyway
rektbyfaith
06-25-2019, 11:10 AM #7

Archived author: MR.MUSTACHE • Posted: 2019-06-25T11:10:55.770000+00:00
Original source

but anyway

rektbyfaith
Administrator
0
06-25-2019, 11:11 AM
#8
Archived author: MR.MUSTACHE • Posted: 2019-06-25T11:11:00.476000+00:00
Original source

I have a weird idea
rektbyfaith
06-25-2019, 11:11 AM #8

Archived author: MR.MUSTACHE • Posted: 2019-06-25T11:11:00.476000+00:00
Original source

I have a weird idea

rektbyfaith
Administrator
0
06-25-2019, 11:16 AM
#9
Archived author: MR.MUSTACHE • Posted: 2019-06-25T11:16:28.308000+00:00
Original source

can anyone confirm that if I make two "instnace" scripts that uses different scriptname but the same MapID, they wont overwrite eachother?
rektbyfaith
06-25-2019, 11:16 AM #9

Archived author: MR.MUSTACHE • Posted: 2019-06-25T11:16:28.308000+00:00
Original source

can anyone confirm that if I make two "instnace" scripts that uses different scriptname but the same MapID, they wont overwrite eachother?

rektbyfaith
Administrator
0
06-25-2019, 11:26 AM
#10
Archived author: MR.MUSTACHE • Posted: 2019-06-25T11:26:14.192000+00:00
Original source

```
Map::RemovePlayerFromMap(Player* player, bool remove)
```
rektbyfaith
06-25-2019, 11:26 AM #10

Archived author: MR.MUSTACHE • Posted: 2019-06-25T11:26:14.192000+00:00
Original source

```
Map::RemovePlayerFromMap(Player* player, bool remove)
```

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