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