I didn´t play for a long time and now i have a littlebit knowledge deficit.
How do i use the event skills fore example "Throw azure demon pumpkin seed" on the extended skill bar ??
Have i to declare it on the skill database and how do i check the availability of the skill ?
Thx for the nice help
MinMax
?? to use the extended event skill bar
Re: ?? to use the extended event skill bar
I think what you are describing is the ExtraActionBar. I use it in my 'invaders' script, and others. The main command is
Where num is the number of the action. I don't think I ever used it but it looks like the code to get the cooldown of the skill is
They are in-game commands so of course, from the bot, you would use RoMScript to execute them.
Code: Select all
UseExtraAction(num)
Code: Select all
local duration, remaining = GetExtraActionCooldown(num)
- 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
Re: ?? to use the extended event skill bar
Unfortunately we have in the event 3 skills which you have to activate firstly. (three colors of seeds to throw)
/skill/494189/werft-einen-azurblauen-daemonenkuerbissamen]Werft einen azurblauen Dämonenkürbissamen
/skill/494411/werft-einen-lindgruenen-daemonenkuerbissamen]Werft einen lindgrünen Dämonenkürbissamen
/skill/494190/werft-einen-scharlachroten-daemonenkuerbissamen]Werft einen scharlachroten Dämonenkürbissamen
You can have 0 to 3 skillbuttons and the order of them on the bar isn´t always the same. So i cant work with "num". Before i use a skill i have to check the availability and find the right skill.
I will take a look to your invaders, maybe i find a solution.
/skill/494189/werft-einen-azurblauen-daemonenkuerbissamen]Werft einen azurblauen Dämonenkürbissamen
/skill/494411/werft-einen-lindgruenen-daemonenkuerbissamen]Werft einen lindgrünen Dämonenkürbissamen
/skill/494190/werft-einen-scharlachroten-daemonenkuerbissamen]Werft einen scharlachroten Dämonenkürbissamen
You can have 0 to 3 skillbuttons and the order of them on the bar isn´t always the same. So i cant work with "num". Before i use a skill i have to check the availability and find the right skill.
I will take a look to your invaders, maybe i find a solution.
Re: ?? to use the extended event skill bar
I'm not aware of any other way to identify them except for the icon. You can get their icon using
If you know the icon name you could create a search function that looks like this
Once you have the index you can 'Use' it and check it's cooldown.
Code: Select all
icon = GetExtraActionInfo(num)
Code: Select all
function findbutton(iconname)
local index = 1
local icon = RoMScript("GetExtraActionInfo(1)")
while icon do
if icon == iconname then
return index
end
index = index + 1
icon = RoMScript("GetExtraActionInfo("..index..")")
end
end
- 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
Re: ?? to use the extended event skill bar
Thx, that´s good. I think, i can work with this.
Re: ?? to use the extended event skill bar
Um... here you go. Started tinkering and came up with a userfunction for you that gets the name and id from memory for the buttons. The command is
It accepts the number of the button, the name or the id.
Code: Select all
UseExtraActionButton(_indexNameOrId)
- Attachments
-
- userfunction_extraactionbar.lua
- (1.83 KiB) Downloaded 162 times
- 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: Google [Bot] and 1 guest