Help section from before the user variable changes that broke all macros
Moderator: MacroQuest Developers
-
javaspot
- orc pawn

- Posts: 25
- Joined: Mon Oct 07, 2002 10:54 pm
Post
by javaspot » Mon Oct 07, 2002 11:00 pm
Hello all,
I'm trying to target the nearest pc which doesn't match a certain set of names, but I'm not having much luck. I'm doing basically:
/alert add 1 pc joe
/alert add 1 pc bob
/target pc noalert 1
The target doesn't work. It prints a message like there are no " nearby. But if I do:
/target pc alert 1
Then the alert works. It will select joe or bob even if they aren't the closest mob. So am I using noalert wrong? Or does anyone have any thoughts on how to select the closest pc not matching a list of names?
-JS
-
Silvak
- orc pawn

- Posts: 10
- Joined: Mon Sep 30, 2002 5:04 pm
Post
by Silvak » Mon Oct 07, 2002 11:38 pm
I was trying something similar to that the other day. Having the same problem you are.
-
Plazmic
- The One

- Posts: 800
- Joined: Fri Jun 14, 2002 12:31 am
-
Contact:
Post
by Plazmic » Wed Oct 09, 2002 2:28 am
/target noalert # is currently implemented as "target something that doesn't have an spawn on alert list # valid at it's location"
ie:
/alert add 1 npc radius 200 "hill giant"
/target pc noalert 1
This will target any pc that is not within 200 units of a hill giant...
In the next version things will be changed.
/target alert #: target a spawn matching alert list #
/target noalert #: target a spawn not matching alert list # (what everyone thinks it does now)
/target nearalert #: target a spawn that is "near" a spawn on alert list #
/target notnearalert #: target a spawn that is not "near" a spawn on alert list # (the current noalert #)
This will break some backwards compatibility, but just do a search and replace on noalert -> notnearalert
-
Silvak
- orc pawn

- Posts: 10
- Joined: Mon Sep 30, 2002 5:04 pm
Post
by Silvak » Wed Oct 09, 2002 3:32 am
Ahhh, lol that does explain it. :-)
-
Java
- a lesser mummy

- Posts: 73
- Joined: Sat Jul 13, 2002 12:03 pm
Post
by Java » Fri Oct 11, 2002 7:39 pm
I love you man !
There IS a God .. err Plazmic !
I have so badly been aching for the Alert change. Im very pleased you have either found a personal use for it, or have gotten messages for that very request.
Hats off to you Plaz. you RULE.
My perception is my reality.
[url=http://www.phpbb.com/][img]http://www.mutedfaith.com/images/illusion.jpg[/img][/url]