Hey guys so I wanted to make a script where the player is forced to mount a dragon while it's flying does anyone know how to do that? it's kind of like getting in a chopper with the green arrow but there forced in rather then clicking it.
Hey guys so I wanted to make a script where the player is forced to mount a dragon while it's flying does anyone know how to do that? it's kind of like getting in a chopper with the green arrow but there forced in rather then clicking it.
Last edited by Xmaily; 06-27-2013 at 03:44 PM.
When someone summons a mount its just a spell. So you would need to see if there is a hook for OnPlayerMount and just insert a script to modify the spellId pointer that is passed in the function. If there is no OnPlayerMount you will need some knowledge of coding to track it down in the core where it handles mounting and insert your own code, or make your own hook.
Albino Drake - Spell - World of Warcraft
^ an example of a mount using the spell 60025
Owner and developer of LevelUp WoW Bot
Can you make a npc mount in lua script?
Unit Commands - ArcEmu-Wiki
:SetMount(display) : Mounts the Unit with the display ID given.