WOW老提示我LUA错误,这个宏我以前一直用得好好的突然就不能用了

Message: [string "SetCVar("targetNearestDistance", 41)"]:1: Couldn't find CVar named 'targetNearestDistance'
Time: 08/28/14 07:05:47
Count: 2
Stack: [C]: in function `SetCVar'
[string "SetCVar("targetNearestDistance", 41)"]:1: in main chunk
[C]: in function `RunScript'
Interface\FrameXML\ChatFrame.lua:2036: in function `?'
Interface\FrameXML\ChatFrame.lua:4315: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:3969: in function `ChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:2623: in function <Interface\FrameXML\ChatFrame.lua:2616>
[C]: in function `UseAction'
Interface\FrameXML\SecureTemplates.lua:348: in function `handler'
Interface\FrameXML\SecureTemplates.lua:633: in function <Interface\FrameXML\SecureTemplates.lua:581>
Locals: (*temporary) = "targetNearestDistance"
(*temporary) = 41

第1个回答  2014-08-28
esc-界面 里面有个不显示 lua错误,把那个勾上追问

提示界面没有了,可是我的宏没法用了啊

第2个回答  2014-08-28
宏开头加上个“/script SetCVar("targetNearestDistance",5) ”应该就没问题了追问

不管用啊

本回答被网友采纳
相似回答