You are not logged in.

Applications: [GameMaster: OPEN] | [Volunteer Testers: OPEN]


This forum will be permanently shut down on Friday 13.07.2018
Please copy or save all important information from old forum before they will be deactivated
We have moved to new board. https://forum.runesofmagic.gameforge.com/Come join us.

1

Saturday, April 14th 2012, 4:40pm

Mother Earth's Fountain macro

Not sure if anyone's asked for this before, but I've done some extensive searching for a macro that will do what I want it to do, and haven't had any luck.

What I want is a macro that will:
Cast the Druid skill Mother Earth's Fountain on my current target : but ONLY if that target is in range (the skill has a range of 200)
IF the target is not currently in range, cast Mother Earth's Fountain on myself.

Thank you. :)
[img][/img]
Youtube

KatalanOrk

Intermediate

Posts: 563

Location: Nijmegen, The Netherlands

  • Send private message

2

Saturday, April 14th 2012, 5:21pm

There is no range check to use. But you should be able to use GetActionUsable() in an if else statement to do the two options that you have specified.

You could also think about using DIYCE for ease of use, or even look at the PartyHealer, though I have used that myself so I don't know if that would help you in this respect.

3

Saturday, April 14th 2012, 8:45pm

Thank you. A friend helped me out and this is what he came up with:

/script if(GetActionUsable(75)) then CastSpellByName("Mother Earth's Fountain"); else FocusUnit(1,"target");TargetUnit("player");CastSpellByName("Mother Earth's Fountain");TargetUnit("focus1");FocusUnit(1,""); end


Hope it helps someone who would like this as well :) works perfect
[img][/img]
Youtube

4

Sunday, April 15th 2012, 8:56am

why would you want a macro for that skill? I'm kind of confused with that.. it's a one button skill .... and if you got your target targetted.. (hint them being your target) it wouldnt matter... .. ..

5

Sunday, April 15th 2012, 5:08pm

Quoted from "WhootyHoo;525041"

why would you want a macro for that skill? I'm kind of confused with that.. it's a one button skill .... and if you got your target targetted.. (hint them being your target) it wouldnt matter... .. ..


If your target is too far away, your skill goes red and you cannot cast it unless you find a target close enough to cast it on. I wanted the macro so that I can pop the skill regardless of if my target is not close enough. Works fantastically.
[img][/img]
Youtube