i need help making my rogue backstab/ambush lua script better menu

User Tag List

Results 1 to 1 of 1
  1. #1
    rogueape's Avatar Member
    Reputation
    1
    Join Date
    Nov 2014
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    i need help making my rogue backstab/ambush lua script better

    /run if not behindCheck then behindCheck = CreateFrame("Frame")end
    /run local frame = behindCheck frame:RegisterEvent("UI_ERROR_MESSAGE") frame:SetScript("OnEvent", function(self, event, ...)if (select(1,...):find("behind") ~= nil) then RunMacro("sub") end end)
    /run CastSpellByName("Backstab");
    /script UIErrorsFrame:Hide();

    so with this when im not behind my character, "sub" will be casted instead which is another macro

    now the problem is that first it tries to cast backstab then when it detects the "you need to be behind target" it cast the other macro, but if i find a better way for the script to detect that im not behind my target then it will be a little bit faster and dps will be better

    the question is what other ways to detect if im behind the target are there?

    also i need someone to rewrite this script with the other methods, i think this is too complicated for my knowledge, thank you
    Last edited by rogueape; 11-05-2014 at 11:00 AM.

    i need help making my rogue backstab/ambush lua script better

Similar Threads

  1. Rogue need help making money?
    By Raiderxx in forum World of Warcraft General
    Replies: 6
    Last Post: 07-16-2009, 12:34 AM
  2. Need help making a server
    By Shank099 in forum World of Warcraft Emulator Servers
    Replies: 11
    Last Post: 03-29-2008, 08:04 AM
  3. Need help making a server
    By Shank099 in forum WoW EMU Guides & Tutorials
    Replies: 2
    Last Post: 03-28-2008, 02:47 AM
  4. need help making a guild
    By 2oo7allan2oo7 in forum World of Warcraft General
    Replies: 9
    Last Post: 12-23-2007, 04:09 PM
  5. Need help making a animated Gif
    By freezer1012 in forum Art & Graphic Design
    Replies: 3
    Last Post: 11-06-2007, 03:03 PM
All times are GMT -5. The time now is 05:24 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search