Player Mount Command
Player Mount Command
Hi all
If i want use the mount i use this Command
player:mount();
but which command i use for dismount ?
player:?????
Greetings Mike
sry for my bad english
If i want use the mount i use this Command
player:mount();
but which command i use for dismount ?
player:?????
Greetings Mike
sry for my bad english
Re: Player Mount Command
usually when you cast a skill or attack a mob it autodismounts. I can't think of any reason to dismount just for the sake of dismounting. Maybe if you explained why you want to then we can work out the best way to do it.
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Player Mount Command
@Lisa
Thank you for you quick answer
Greetings Mike
Thank you for you quick answer
Greetings Mike
Re: Player Mount Command
I would think you could also use the cancelbuff userfunction, but I've never actually been able to figure out how it works. I've tried several different ways to put it in the code but it never works.
Scout/Knight/Rogue 70/66/66
Re: Player Mount Command
The trouble with canceling buffs is you need to know the name of the buff you want to cancel.
It looks for the word "mount" in the buff name and cancels it, change mount to something that you would find in the name. I'm not in game and can't remember what the buffs say for mounts.
--untested.
It looks for the word "mount" in the buff name and cancels it, change mount to something that you would find in the name. I'm not in game and can't remember what the buffs say for mounts.
--untested.
Code: Select all
for i=1,20,1 do -- only looks for max of 20 buffs, can make it higher if needed.
local name = RoMScript('UnitBuff( "player", '..i..' );')
local _name = string.find(name,"mount")
if _name then
RoMScript('CancelPlayerBuff('..i..');')
end
end
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Player Mount Command
At the end of wiki-->functions is code for buffs cancel
Re: Player Mount Command
@Lisa
Thanks, I'll give that a try
@Wizzy
I know about that code. Never been able to get it to work.
Thanks, I'll give that a try
@Wizzy
I know about that code. Never been able to get it to work.
Scout/Knight/Rogue 70/66/66
Re: Player Mount Command
I've added
to revision 690. Enjoy.
Code: Select all
player:dismount()
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 0 guests