Lua (Required) - The lua code to be executed to determine if this ability will be executed. It is executed in the form of a function, so you should use 'return true' to indicate you wish to cast the ability.
![]()
Last edited by Kimber8idin; 05-26-2013 at 10:48 PM.
Hey, I'm trying to target a specific person in a battleground but it doesn't seem to work, tried many different variations like RunMacroText("/target "..playername), TargetUnit(playername), /targetexact, both the short name and full name/realm, nothing seems to target the desired person. Anyone know why this might be or if there is any way to work around it? If I run the exact same command in-game like /tar playername then it targets the player, just not through LUA for some reason.
Im sorry i only come out from a rock every patch or so but KMD ilove you are there any updates for hunters!![]()
Can anyone explain how I reach the options menu where you can customize your hotkeys etc. Its supposed to be in the PQI addon I think.
LF HELP
I can not edit the values of spells using the rotation config via PQI in game. PRQ_PRI is in my data folder. Everything runs and loads like it should with the exeption of being able to edit the values of spells
EX: divine shield casts at 85% regardless if the box is checked or not. Also if i try and change the value to 25% as soon as i double click the lock to save the changes. the value is reset to the 85% position.
any ideas
Alpha Profiles: - All profiles with PQInterface support!
Alpha Interrupt: https://goo.gl/OLhGi - Ignore List, Random Percentage, Time Delays, & much More!
Alpha Utilities: https://goo.gl/rt7WA - Farming, Prospecting, Disenchanting, Milling, & Questing
Alpha Moonkin: https://goo.gl/gjxw0 - Optimized DPS Rotation for PvE, Mashup of 3 Profiles
Avery's Ret: https://goo.gl/GhurM - My take on Avery's outstanding Ret profile with PQI
Hm thanks, to me it looks like you are able to use /targetexact on a player using the name-realm format and are just using focus so you can cycle through all of the players in the battleground, for me I know in advance the name of the player I want to target but it doesn't let me target them. Perhaps it's something to do with the specific scenario in which I'm trying to do this, which is re-target any player that uses a drop target ability (like mirror images, spectral *****, feign death) etc. I've tried TargetLastEnemy() but those abilities seem to clear any memory of having that player targeted
Hey guys im having a hard time getting conversion to work with my unholy profile it will use it when i drop below the designated health percentage but then will get stuck on spamming it of and on off and on again. Heres the code for what ive been trying to get it to work but alas no go any help would be appreciated
-- Conversion
local Myhealth = 100 * UnitHealth("player") / UnitHealthMax("player")
if Myhealth <= 80 then
CastSpellByName(GetSpellInfo(119975),"player")
return true
end
Last edited by godlike86; 05-27-2013 at 07:20 PM.
Just dumped hb for pqr. I like how much faster and lightweight it is. I prefer to write my own profiles to how I like to play but I can't figure something out I'm hoping somebody can help me with. Does the profile maintain state or are variables loaded every loop through the rotation. I'm trying to populate a table and maintain certain attributes but I'm not sure the best way to go about it. Maybe registercvar?
tl;dr whats the best way to store long term variables.
the way i understand it is all variables are saved until you logout or /reload, so all you would need to do is set a global variable = to a table once and it will be there till you logout or /reload because of this you could do something like:
if Tableloaded == nil then
myTable = { stuff }
Tableloaded = true
end
and then you will always have access to that table without re making it every cycle.
hope this helps, the best way i found to learn PQR is just look at others profiles and ask questions here =D
Alpha Profiles: - All profiles with PQInterface support!
Alpha Interrupt: https://goo.gl/OLhGi - Ignore List, Random Percentage, Time Delays, & much More!
Alpha Utilities: https://goo.gl/rt7WA - Farming, Prospecting, Disenchanting, Milling, & Questing
Alpha Moonkin: https://goo.gl/gjxw0 - Optimized DPS Rotation for PvE, Mashup of 3 Profiles
Avery's Ret: https://goo.gl/GhurM - My take on Avery's outstanding Ret profile with PQI
Just looked through some profiles. I get it now. Much simpler than I thought.