[DiscordArchive] <@559407472759275540> do you need to catch a specific map leaving ?
[DiscordArchive] <@559407472759275540> do you need to catch a specific map leaving ?
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 ?
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
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
Archived author: MR.MUSTACHE • Posted: 2019-06-25T11:08:34.957000+00:00
Original source
1. I don't use eluna
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
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
Archived author: MR.MUSTACHE • Posted: 2019-06-25T11:10:55.770000+00:00
Original source
but anyway
Archived author: MR.MUSTACHE • Posted: 2019-06-25T11:11:00.476000+00:00
Original source
I have a weird idea
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?
Archived author: MR.MUSTACHE • Posted: 2019-06-25T11:26:14.192000+00:00
Original source
```
Map::RemovePlayerFromMap(Player* player, bool remove)
```