Hey Rock, hey lisa.
is it possible to get out the ID of "recall" and "recall to heffner..". I mean not to use spell position 1,2 for recall - its easy, but "recall to heffner.." is based on char lvl - so i could be mooved to another position.
I want be able to cast this spell, using CastSpellbyName or better CastSpellByID (if it is possible)?
thx for ya answer in advance!
Recall-Spell ID
Re: Recall-Spell ID
Code: Select all
RoMScript('CastSpellByName("Heffner Camp Transport Spell")')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: Recall-Spell ID
Oh, easier I thought, thx lisa.
And how to get out the spell's cooldown using spells name?
This RoMScript("GetSkillCooldown(1,4);"); works, but how to use splells Name? RoMScript("GetSkillCooldown("Heffner Camp Transport Spell");"); I got a syntax error?
And how to get out the spell's cooldown using spells name?
This RoMScript("GetSkillCooldown(1,4);"); works, but how to use splells Name? RoMScript("GetSkillCooldown("Heffner Camp Transport Spell");"); I got a syntax error?
Re: Recall-Spell ID
the cooldown function doesn't use the name, it only uses tab and number. Recall and the teleports do share the cooldown though and recall is always 1,2
Something like that will do what you want.
Code: Select all
local cooldown, remaining = sendMacro("GetSkillCooldown(1,2);")
if remaining > 1 then
printf("skill on cooldown\n") -- skills on cooldown
else
RoMScript('CastSpellByName("Heffner Camp Transport Spell")') -- use teleport
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: Recall-Spell ID
Thx again.