Local Variables menu

User Tag List

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

    Local Variables

    I'm looking for a way to use local variables in my profiles. what I do now for my resto druid rotations rejuvs is as follows

    Code:
    { "774", { "!player.buff(774).any", "player.health <= 86" }, "player" }, -- Rejuv.
    I use that 40 times so that it will blanket an entire raid. Problem I have is that I want to be able to change the "86" in the code for all 40 rejuvs at once with a variable instead of having to change them one by one.

    Here is what I'm thinking, but it doesn't work.

    Code:
    local Rejuv = 86
    
    { "774", { "!player.buff(774).any", "player.health <=" Rejuv }, "player" }, -- Rejuv.
    Is there a way to implement this?

    Local Variables
  2. #2
    akeon1's Avatar Contributor
    Reputation
    103
    Join Date
    Sep 2011
    Posts
    265
    Thanks G/R
    3/7
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This isnt answering your question directly but instead proposing a way around it.
    Why not make it a option to pick the health % rather than specifying it. That way you never change it in the code at all.

    Making it in a GUI as a 'spinner' lets you (or the user) specify the health percent AND gives you the ability to change it on the fly in game.

    If you need help with this pretty much just:
    - rip out my core.lua file
    - one of my gui rotation files. (gui folder)
    - bit of editing you can customize yourself.

    I can set you up with a base to work from if that gets you stuck.


    If this isnt what you want, ignore me and ill crawl back in my box
    Last edited by akeon1; 04-15-2015 at 02:32 AM.

Similar Threads

  1. WoW Variables
    By Gothian in forum Community Chat
    Replies: 3
    Last Post: 10-30-2007, 07:00 PM
  2. Kill your local farmer
    By Cal in forum World of Warcraft Exploits
    Replies: 8
    Last Post: 10-29-2007, 09:51 PM
  3. Funny Character creation sheet (found while looking in Locale-****(varries )
    By Knomez in forum World of Warcraft Model Editing
    Replies: 5
    Last Post: 10-26-2007, 04:32 PM
  4. [Question] local-enus.mpq
    By L'Lawliet in forum WoW ME Questions and Requests
    Replies: 7
    Last Post: 10-09-2007, 05:24 PM
  5. Interesting finds in locale.MPQ
    By natni8 in forum World of Warcraft Model Editing
    Replies: 2
    Last Post: 01-03-2007, 12:03 AM
All times are GMT -5. The time now is 02:19 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