Page 1 of 1
Getting mounted!
Posted: Mon Mar 20, 2017 5:37 am
by Gangrenous
Like the title?
Well, how do we get an NPC to mount a horse. Like this guard, he should patrol on a horse.
http://eq2.wikia.com/wiki/Captain_Chapman
Re: Getting mounted!
Posted: Mon Mar 20, 2017 4:46 pm
by Jabantiz
There is a lua function to set the mount, think it is SetMount(), just call that in the spawn function of the spawn script passing the correct params for the mount.
Re: Getting mounted!
Posted: Mon Mar 20, 2017 6:36 pm
by Gangrenous
Roger that. I am guessing that the mounts are not actually known, meaning they are not spawns? I have never noticed a horse in the spawn list for these zones.
Re: Getting mounted!
Posted: Mon Mar 20, 2017 7:11 pm
by Gangrenous
NM, I see you address it by giving the model ID.
Re: Getting mounted!
Posted: Mon Mar 20, 2017 7:23 pm
by Gangrenous
SetMount(NPC, 6829)
Re: Getting mounted!
Posted: Mon Mar 20, 2017 7:33 pm
by Jabantiz
You are correct that they are not actually spawns, they are just a model id and color info in the spawn packet of the spawn you want on a mount.
Re: Getting mounted!
Posted: Mon Mar 20, 2017 7:52 pm
by Gangrenous
Well he is quick pretty right now, three of them routed in South Qeynos.