Okay, is this code inherently flawed? |-------------------------------------------------------------------------------- |SUB: InArrayPartial |-------------------------------------------------------------------------------- Sub InArrayPartial(string Needle, array Haystack) /declare i int /for i 1 to ...
Want to know whether or not a mob is looking at you? Headed in your direction? Headed away from you? This collection of subs will tell you what angle the mob is looking at relative to you, with 0.00 being directly at you and 180.00 being directly away from you. There's a full 0-360 degree version an...
Ah, okay. Sounds like it's working as intended then. I was getting the bogus 489.0 or whatever when chaining a lot of Spawn.Next's, not sure if that's related. On another note, there is no implementation of what I was looking for in MQ2 which is "What angle is the mob looking relative to me, wi...
Anyway, here's some macro code for anyone looking to figure this out: (Note: Return range is 0-180 in the Normalized sub, 0-360 in the original) #turbo Sub Main /call MobLookNormalized ${Target.ID} /return |-------------------------------------------------------------------------------- |SUB: Angle ...
I'm not sure how this is *supposed* to work, but the way I assumed it was supposed to work was that it would tell you the spawn's looking angle relative to YOU (i.e. 0.00 directly at you, 180.00 directly away from you, range 0,359.99). In client, I'm usually getting 0.00 on most spawns, or occasiona...
After digging through the code with very little knowledge of C++ or whatever MQ is written in, I figured out what I was looking for: ${Target.BuffDuration[SLOTNUM/SPELLNAME]}
${Target.Rooted.Duration} is updated with the actual remaining duration of the buff, while ${Target.Buff[0].Duration} is not. Why is this? Is there any way to get accesses to the remaining duration of a buff via ${Target.Buff}?
I'll believe it when I see it. Post your macro in the VIP forum. If someone else can confirm its functionality, I'll post my macro in the VIP forum as well.
I agree that the VIP forum is definately worth $10 and has a LOT of great resources (particularly the tradeskill macros). However, 90% of this script was made from scratch, and took a lot of time to develop. There's no way you'd be able to put something together that achieves the same level of perfe...