Page 1 of 1

Mount function stoped working?

Posted: Thu Oct 13, 2011 4:31 pm
by IronWolf
Sorry if some1 already asked, i searched for a similar post but couldn't find,

the command:
"player:mount();"

does not mount for me anymore, any1 that can help with why?

and if its not working anymore, my mount is hot-keyed for '-', whats the command to fake click '-' ?

thanks for the reply.

Re: Mount function stoped working?

Posted: Fri Oct 14, 2011 1:18 am
by ako ito
IronWolf wrote:Sorry if some1 already asked, i searched for a similar post but couldn't find,

the command:
"player:mount();"

does not mount for me anymore, any1 that can help with why?

and if its not working anymore, my mount is hot-keyed for '-', whats the command to fake click '-' ?

thanks for the reply.


try this.. http://www.solarstrike.net/phpBB3/viewt ... 1&start=20

Re: Mount function stoped working?

Posted: Fri Oct 14, 2011 3:34 pm
by xplar
this is from my party.lua. i added it to the party healer part so that when the healer has the raid icon II it will mount.

Code: Select all

if selficon == 2 then
	player:update();
	if (not player.Battling) then
		if (not player.Mounted) then
			player:mount()
			yrest(1000)
			player:update();
		end
	end
end
it checks first to see if it has the II icon, then it checks to see if it is in combat, then checks to see if it is mounted. you need the player:update() so that when it mounts it checks again to make sure its mounted. i found that without that in there it will always think its not mounted even when mounted and you will be stuck in a mount/unmount loop.