Difference between revisions of "Luo.R"
From OpenEUO
m (Created page with "== Calling Convention == Call local f = sl.luo.LTarget -- later local t = f() Args none Returns f is a function, which when called produces t t is a table of UO variable va...") |
m (→See Also) |
||
Line 48: | Line 48: | ||
== See Also == | == See Also == | ||
+ | |||
+ | * [http://www.easyuo.com/openeuo/wiki/index.php/Simplelib simplelib] | ||
+ | |||
+ | * [http://www.easyuo.com/openeuo/wiki/index.php/Documentation#Variables UO Variables] | ||
* [[luo]] | * [[luo]] | ||
Line 54: | Line 58: | ||
* [[luo.Cur]] | * [[luo.Cur]] | ||
− | |||
− |
Latest revision as of 09:41, 2 November 2010
Calling Convention
Call
local f = sl.luo.LTarget -- later local t = f()
Args
none
Returns
f is a function, which when called produces t t is a table of UO variable values
Example Usage
local l = sl.luo local s = sl.str local t,vo,v = {}, "", "" while true do t = l.R() vo = s.joinsep(" ", t.A, t.C, t.E, t.F, t.P) repeat t = l.R() v = s.joinsep(" ", t.A, t.C, t.E, t.F, t.P) wait(100) until v ~= vo print("resists changed to: "..v) end
Description
The live UO luo.LTarget method returns a table of current UO variable values at the time when it is called. Keys and values of the resultant table:
key value A UO.AR C UO.CR E UO.ER F UO.FR P UO.PR