Bugreporter 93 Posted February 2, 2014 Share Posted February 2, 2014 Is the variable ,that I define as return value, defined as a local or a global variable ? <LuaScript>local start, duration, enabled = GetSpellCooldown("1784"); retV=duration</LuaScript> <VarRet>retV</VarRet> <ValueRet>0</ValueRet> retV = local or global ? Link to comment https://wrobot.eu/forums/topic/1101-luascript-varret-a-public-question-droidz/ Share on other sites More sharing options...
Droidz 2738 Posted February 3, 2014 Share Posted February 3, 2014 Hello, retV need to be global. Link to comment https://wrobot.eu/forums/topic/1101-luascript-varret-a-public-question-droidz/#findComment-5751 Share on other sites More sharing options...
Bugreporter 93 Posted February 3, 2014 Author Share Posted February 3, 2014 Ok, that means Blizzard must only analyse the fight classes in the download section (grep VarRet *) for unique return variables and check them while playing to get an indication who use wrobot fight profiles ? Right ? Link to comment https://wrobot.eu/forums/topic/1101-luascript-varret-a-public-question-droidz/#findComment-5757 Share on other sites More sharing options...
Droidz 2738 Posted February 3, 2014 Share Posted February 3, 2014 WRobot clean this variable, and you can use others name (name like "result" used on many addon or macro). Link to comment https://wrobot.eu/forums/topic/1101-luascript-varret-a-public-question-droidz/#findComment-5759 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now