face.mac

Macro depository for macros written before the user variable changes that broke all of them.

Moderator: MacroQuest Developers

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

face.mac

Post by L124RD » Sat Jun 15, 2002 1:46 pm

Salutations,
This macro is for always facing your target. If you are in a group and have a specified person to assist, you can call /macro face.mac 0 <persontoassist> and assist them, always facing their target. If you just want to face your current target you can simply use /macro face.mac

Code: Select all

| face.mac
| If you have a PC selected, it will assist them, then face the npc constantly.
|  If you have an NPC selected, it will face them constantly. If you specify a 
|  target it will target them then determine whether to assist or face them as
|  describe above.
| syntax: /macro face.mac [override] [assist|target]
|  override - if set to 1, it will face the targeted or specified character.
|  assist - the person you want to assist in fighting
|  target - the thing you want to target.
| -------------------------------------------
|  written by: L124RD

sub main
 /if "$q1"!="" /target $q1
 /if n $p0!=1 /if "$target(type)"!="NPC" /assist $q1
 :faceloop
  /if "$target()"=="FALSE" /return
  /face
  /goto :faceloop
/return