look for a mob in range script

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
longsdale
Posts: 7
Joined: Tue Feb 07, 2012 11:57 am

look for a mob in range script

#1 Post by longsdale » Wed Mar 21, 2012 4:09 pm

like the topic says i want a script that looks if a mob (mostly boss) is in range.is there a possibility for this?and which range?someone interested?

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: look for a mob in range script

#2 Post by lisa » Wed Mar 21, 2012 8:43 pm

--=== moved ===--
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

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: look for a mob in range script

#3 Post by rock5 » Wed Mar 21, 2012 11:44 pm

When do you want to check if the boss is in range and what do you want to do if it is?

To get the distance to something just use

Code: Select all

something = player:findNearestNameOrId("name of somethings")
dist = distance(player.X, player.Z, player.Y, something.X, something.Z, something.Y)
  • 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

longsdale
Posts: 7
Joined: Tue Feb 07, 2012 11:57 am

Re: look for a mob in range script

#4 Post by longsdale » Thu Mar 22, 2012 3:30 am

if he is there i want to get a whisper window or something like that.or a simple "BOSS" in the chatwindow.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: look for a mob in range script

#5 Post by rock5 » Thu Mar 22, 2012 4:12 am

So at a certain waypoint you want to check if a boss is there and send a whisper to another character? What do you want to do if it's not there?
  • 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

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: look for a mob in range script

#6 Post by lisa » Thu Mar 22, 2012 4:47 am

Sounds like you just want a char to sit 24/7 at hackman (example) and whisper you when he spawns.
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

longsdale
Posts: 7
Joined: Tue Feb 07, 2012 11:57 am

Re: look for a mob in range script

#7 Post by longsdale » Thu Mar 22, 2012 9:11 am

not excactly but good idea :).i quit playing rom for now.the community in the forum fucks me up and the buggy rom too.thanks for the help but im out from this game :).but keep on the good work,u are really good at this programming thing i think.good to know that there are nice poeple how makes life a bit easier.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 0 guests