Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] You mean to add a Dismount() just under the call to "SetMountBlockId" ?

[DiscordArchive] You mean to add a Dismount() just under the call to "SetMountBlockId" ?

[DiscordArchive] You mean to add a Dismount() just under the call to "SetMountBlockId" ?

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
09-24-2021, 07:01 PM
#11
Archived author: Nyeriah • Posted: 2021-09-24T19:01:15.704000+00:00
Original source

spellworks
rektbyfaith
09-24-2021, 07:01 PM #11

Archived author: Nyeriah • Posted: 2021-09-24T19:01:15.704000+00:00
Original source

spellworks

rektbyfaith
Administrator
0
09-24-2021, 07:02 PM
#12
Archived author: Nyeriah • Posted: 2021-09-24T19:02:31.280000+00:00
Original source

https://github.com/TrinityCore/SpellWork/tree/master
[Embed: GitHub - TrinityCore/SpellWork at master]
Spell info viewer for multiple versions of WoW. Contribute to TrinityCore/SpellWork development by creating an account on GitHub.
https://github.com/TrinityCore/SpellWork/tree/master
rektbyfaith
09-24-2021, 07:02 PM #12

Archived author: Nyeriah • Posted: 2021-09-24T19:02:31.280000+00:00
Original source

https://github.com/TrinityCore/SpellWork/tree/master
[Embed: GitHub - TrinityCore/SpellWork at master]
Spell info viewer for multiple versions of WoW. Contribute to TrinityCore/SpellWork development by creating an account on GitHub.
https://github.com/TrinityCore/SpellWork/tree/master

rektbyfaith
Administrator
0
09-24-2021, 07:02 PM
#13
Archived author: Drooppi • Posted: 2021-09-24T19:02:38.659000+00:00
Original source

thanks
rektbyfaith
09-24-2021, 07:02 PM #13

Archived author: Drooppi • Posted: 2021-09-24T19:02:38.659000+00:00
Original source

thanks

rektbyfaith
Administrator
0
09-24-2021, 07:03 PM
#14
Archived author: Drooppi • Posted: 2021-09-24T19:03:00.872000+00:00
Original source

well actually yeah, dismount() does remove the mount, but somehow the mount is saved and added back again after the player has entered
rektbyfaith
09-24-2021, 07:03 PM #14

Archived author: Drooppi • Posted: 2021-09-24T19:03:00.872000+00:00
Original source

well actually yeah, dismount() does remove the mount, but somehow the mount is saved and added back again after the player has entered

rektbyfaith
Administrator
0
09-24-2021, 07:26 PM
#15
Archived author: Drooppi • Posted: 2021-09-24T19:26:47.244000+00:00
Original source

```
player->RemoveAurasByType(SPELL_AURA_MOUNTED);
player->SetMountBlockId(0);
player->Dismount();
```
This did the trick for now... Could be that Dismount() needs some refactoring and should actually take care of removing all that stuff
rektbyfaith
09-24-2021, 07:26 PM #15

Archived author: Drooppi • Posted: 2021-09-24T19:26:47.244000+00:00
Original source

```
player->RemoveAurasByType(SPELL_AURA_MOUNTED);
player->SetMountBlockId(0);
player->Dismount();
```
This did the trick for now... Could be that Dismount() needs some refactoring and should actually take care of removing all that stuff

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